Browse Source

Update operationprogressbar.js

To fix issue #16137

Signed-off-by: james.lao@gmail.com <james.lao@gmail.com>
James Lao 5 năm trước cách đây
mục cha
commit
6afd368b75
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      apps/files/js/operationprogressbar.js

+ 3 - 1
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) {