Skip to content
Snippets Groups Projects
Commit 661abcfc authored by syuilo's avatar syuilo
Browse files

(Refactor) Use for...of

parent fffbef8e
No related branches found
No related tags found
No related merge requests found
......@@ -122,8 +122,7 @@
this.onpaste = e => {
const data = e.clipboardData;
const items = data.items;
for (let i = 0; i < items.length; i++) {
const item = items[i];
for (item of items) {
if (item.kind == 'file') {
this.upload(item.getAsFile());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment