summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorChristopher Mueller <chrinimue@posteo.me>2020-03-31 18:09:24 +0000
committerChristopher Mueller <chrinimue@posteo.me>2020-03-31 18:09:24 +0000
commit49291b905a62d44601be7ff7ee54a19e0796759e (patch)
tree62ed518c15af2b1ed1e8018c54f1e11d5e71b239 /apps/files_sharing
parent79320200ccdeb12c26b8402392f6a09ed53f983f (diff)
downloadnextcloud-server-49291b905a62d44601be7ff7ee54a19e0796759e.tar.gz
nextcloud-server-49291b905a62d44601be7ff7ee54a19e0796759e.zip
fix wrong indentation
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/files_drop.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_sharing/js/files_drop.js b/apps/files_sharing/js/files_drop.js
index 8bf80554b53..9dff5a06f56 100644
--- a/apps/files_sharing/js/files_drop.js
+++ b/apps/files_sharing/js/files_drop.js
@@ -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) {