From 4551c342b9d810c1dae03697f3b8a118f40b940a Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Thu, 24 Mar 2016 21:36:14 +0100 Subject: [PATCH] Code style adjustments --- src/scripts/upload.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/upload.js b/src/scripts/upload.js index 8fffcca..9fc4ca6 100755 --- a/src/scripts/upload.js +++ b/src/scripts/upload.js @@ -208,8 +208,8 @@ upload.start = { for (let i = 0; i < files.length; i++) { - files[i].num = i - files[i].ready = false + files[i].num = i + files[i].ready = false if (i < files.length-1) files[i].next = files[i + 1] else files[i].next = null @@ -244,7 +244,7 @@ upload.start = { basicModal.close() files[0] = { - name : data.link + name: data.link } upload.show('Importing URL', files, function() { @@ -323,7 +323,7 @@ upload.start = { let files = [] files[0] = { - name : data.path + name: data.path } upload.show('Importing from server', files, function() {