mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 12:53:08 +02: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