diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-05-25 08:54:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-05-25 08:54:51 +0900 |
| commit | b8905bbed984233a1b470fb96bdfbe171d4a2929 (patch) | |
| tree | fb38d4cbd262400d5c1d537a8ce81af56803c966 /src | |
| parent | (Refactor) Use for...of (diff) | |
| download | misskey-b8905bbed984233a1b470fb96bdfbe171d4a2929.tar.gz misskey-b8905bbed984233a1b470fb96bdfbe171d4a2929.tar.bz2 misskey-b8905bbed984233a1b470fb96bdfbe171d4a2929.zip | |
Fix: Add missing 'const'
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/common/tags/messaging/form.tag | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |