Fix: Add missing 'const'
This commit is contained in:
parent
169a4eee69
commit
b25af51f45
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@
|
||||||
this.onpaste = e => {
|
this.onpaste = e => {
|
||||||
const data = e.clipboardData;
|
const data = e.clipboardData;
|
||||||
const items = data.items;
|
const items = data.items;
|
||||||
for (item of items) {
|
for (const item of items) {
|
||||||
if (item.kind == 'file') {
|
if (item.kind == 'file') {
|
||||||
this.upload(item.getAsFile());
|
this.upload(item.getAsFile());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue