Code style adjustments #496
This commit is contained in:
parent
c2b66db01f
commit
4fa9a96c89
@ -85,7 +85,6 @@ upload.start = {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
formData.append('function', 'Photo::add')
|
formData.append('function', 'Photo::add')
|
||||||
formData.append('albumID', albumID)
|
formData.append('albumID', albumID)
|
||||||
formData.append(0, file)
|
formData.append(0, file)
|
||||||
@ -178,7 +177,7 @@ upload.start = {
|
|||||||
pre_progress = progress
|
pre_progress = progress
|
||||||
}
|
}
|
||||||
|
|
||||||
if (progress>=100 && next_file_started==false) {
|
if (progress>=100 && next_file_started===false) {
|
||||||
|
|
||||||
// Scroll to the uploading file
|
// Scroll to the uploading file
|
||||||
let scrollPos = 0
|
let scrollPos = 0
|
||||||
@ -212,6 +211,7 @@ upload.start = {
|
|||||||
|
|
||||||
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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onbeforeunload = function() { return 'Lychee is currently uploading!' }
|
window.onbeforeunload = function() { return 'Lychee is currently uploading!' }
|
||||||
|
Loading…
Reference in New Issue
Block a user