Clean-up javascript formatting

This commit is contained in:
Simon Walton 2018-11-14 10:17:48 -08:00
parent e96cad230a
commit f5e14565b8

View file

@ -14,8 +14,7 @@ $(document).ready(function(){
return html;
}
function uploadNextChunk(file, offset)
{
function uploadNextChunk(file, offset) {
if (offset == undefined) {
offset = 0;
}
@ -53,7 +52,7 @@ $(document).ready(function(){
if (!isFinal) {
ajaxObject.done(function (data, textStatus, jqXHR)
{uploadNextChunk(file, offset + CHUNK_SIZE);});
{ uploadNextChunk(file, offset + CHUNK_SIZE); });
} else {
ajaxObject.done(function(data, textStatus, jqXHR) {
isRestoring = true;
@ -106,7 +105,6 @@ $(document).ready(function(){
showSpinnerAlert("Uploading content to restore");
uploadNextChunk(files[0]);
}
);