fix wrong indentation
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
This commit is contained in:
parent
79320200cc
commit
49291b905a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue