From b25af51f4544a43425df3e5b77662c7f1a83d442 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 25 May 2017 08:54:51 +0900 Subject: [PATCH] Fix: Add missing 'const' --- src/web/app/common/tags/messaging/form.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/common/tags/messaging/form.tag b/src/web/app/common/tags/messaging/form.tag index cddf1c406..2c3475637 100644 --- a/src/web/app/common/tags/messaging/form.tag +++ b/src/web/app/common/tags/messaging/form.tag @@ -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()); }