mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-23 22:56:49 +09:00
Fix: Add missing 'const'
This commit is contained in:
parent
661abcfcdb
commit
b8905bbed9
@ -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 New Issue
Block a user