Code style adjustments

This commit is contained in:
Tobias Reich 2016-03-24 21:36:14 +01:00
parent f3d4ca06c8
commit 4551c342b9

View File

@ -208,8 +208,8 @@ upload.start = {
for (let i = 0; i < files.length; i++) { for (let i = 0; i < files.length; i++) {
files[i].num = i files[i].num = i
files[i].ready = false files[i].ready = false
if (i < files.length-1) files[i].next = files[i + 1] if (i < files.length-1) files[i].next = files[i + 1]
else files[i].next = null else files[i].next = null
@ -244,7 +244,7 @@ upload.start = {
basicModal.close() basicModal.close()
files[0] = { files[0] = {
name : data.link name: data.link
} }
upload.show('Importing URL', files, function() { upload.show('Importing URL', files, function() {
@ -323,7 +323,7 @@ upload.start = {
let files = [] let files = []
files[0] = { files[0] = {
name : data.path name: data.path
} }
upload.show('Importing from server', files, function() { upload.show('Importing from server', files, function() {