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