summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-17 11:50:24 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-18 18:09:46 +0100
commitd27826bac06ca54eeeba73420983a05a1a557cf6 (patch)
tree90df41b1321fd8bcc2d980926b6828d19179f3e7 /apps/files/js
parent95a255b0d4dc4d188022fcd11f0c8c03a76041b7 (diff)
downloadnextcloud-server-d27826bac06ca54eeeba73420983a05a1a557cf6.tar.gz
nextcloud-server-d27826bac06ca54eeeba73420983a05a1a557cf6.zip
Correctly render uploadtext indicator only on folders
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 7e1329d1155..ec82117c2b3 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1068,7 +1068,7 @@
nameSpan.tooltip({placement: 'right'});
}
// dirs can show the number of uploaded files
- if (mime !== 'httpd/unix-directory') {
+ if (mime === 'httpd/unix-directory') {
linkElem.append($('<span></span>').attr({
'class': 'uploadtext',
'currentUploads': 0