summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJames Lao <jameslao@users.noreply.github.com>2019-06-28 09:08:16 -0700
committerjames.lao@gmail.com <james.lao@gmail.com>2019-06-28 10:13:04 -0700
commit6afd368b75b0e32ec315abb1b94c5e6011817960 (patch)
tree30a91e34e798c3f9043ac224b9b3e8f0200cd00d /apps/files
parent58c51599f4ebfe1e6129e9cc308427dda1b54ef9 (diff)
downloadnextcloud-server-6afd368b75b0e32ec315abb1b94c5e6011817960.tar.gz
nextcloud-server-6afd368b75b0e32ec315abb1b94c5e6011817960.zip
Update operationprogressbar.js
To fix issue #16137 Signed-off-by: james.lao@gmail.com <james.lao@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/operationprogressbar.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/operationprogressbar.js b/apps/files/js/operationprogressbar.js
index d07cea91235..1c054ec67b6 100644
--- a/apps/files/js/operationprogressbar.js
+++ b/apps/files/js/operationprogressbar.js
@@ -67,7 +67,9 @@
if(title) {
$('#uploadprogressbar').attr('original-title', title);
}
- $('#uploadprogresswrapper .stop').show();
+ if(textDesktop || textMobile) {
+ $('#uploadprogresswrapper .stop').show();
+ }
},
_onClickCancel: function (event) {