mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 00:09:08 +01:00
Fix: Add missing 'const'
This commit is contained in:
parent
661abcfcdb
commit
b8905bbed9
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@
|
|||
this.onpaste = e => {
|
||||
const data = e.clipboardData;
|
||||
const items = data.items;
|
||||
for (item of items) {
|
||||
for (const item of items) {
|
||||
if (item.kind == 'file') {
|
||||
this.upload(item.getAsFile());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue