]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix wrong indentation 20244/head
authorChristopher Mueller <chrinimue@posteo.me>
Tue, 31 Mar 2020 18:09:24 +0000 (18:09 +0000)
committerChristopher Mueller <chrinimue@posteo.me>
Tue, 31 Mar 2020 18:09:24 +0000 (18:09 +0000)
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
apps/files_sharing/js/files_drop.js

index 8bf80554b532a963c9542a06926c2fa397f35408..9dff5a06f56431b3c8a6bd7b780d3f71a35fd7a9 100644 (file)
                                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) {