fix wrong indentation

Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
This commit is contained in:
Christopher Mueller 2020-03-31 18:09:24 +00:00
parent 79320200cc
commit 49291b905a
1 changed files with 6 additions and 6 deletions

View File

@ -130,12 +130,12 @@
progress: function (e, data) {
var progress = parseInt(data.loaded / data.total * 100, 10);
if(progress === 100) {
$('#drop-upload-progress-bar').val(100);
$('#drop-upload-status').text(t('files_sharing', 'finished'));
} else {
$('#drop-upload-progress-bar').val(progress);
$('#drop-upload-status').text(progress + '%');
}
$('#drop-upload-progress-bar').val(100);
$('#drop-upload-status').text(t('files_sharing', 'finished'));
} else {
$('#drop-upload-progress-bar').val(progress);
$('#drop-upload-status').text(progress + '%');
}
},
});
$('#public-upload .button.icon-upload').click(function(e) {