Ver código fonte

Update operationprogressbar.js

To fix issue #16137

Signed-off-by: james.lao@gmail.com <james.lao@gmail.com>
James Lao 4 anos atrás
pai
commit
6afd368b75
1 arquivos alterados com 3 adições e 1 exclusões
  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) {