From b8905bbed984233a1b470fb96bdfbe171d4a2929 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 cddf1c4061..2c34756377 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()); }