Fix: Add missing 'const'

This commit is contained in:
syuilo 2017-05-25 08:54:51 +09:00
parent 661abcfcdb
commit b8905bbed9
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }