Browse Source

Code style adjustments #496

Tobias Reich 9 years ago
parent
commit
4fa9a96c89
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/scripts/upload.js

+ 2 - 2
src/scripts/upload.js

@@ -85,7 +85,6 @@ upload.start = {
 
 			}
 
-
 			formData.append('function', 'Photo::add')
 			formData.append('albumID', albumID)
 			formData.append(0, file)
@@ -178,7 +177,7 @@ upload.start = {
 					pre_progress = progress
 				}
 
-				if (progress>=100 && next_file_started==false) {
+				if (progress>=100 && next_file_started===false) {
 
 					// Scroll to the uploading file
 					let scrollPos = 0
@@ -212,6 +211,7 @@ upload.start = {
 
 			if (i < files.length-1) files[i].next = files[i + 1]
 			else                    files[i].next = null
+
 		}
 
 		window.onbeforeunload = function() { return 'Lychee is currently uploading!' }