aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorNazar Mokrynskyi <nazar@mokrynskyi.com>2014-10-15 14:55:24 +0200
committerNazar Mokrynskyi <nazar@mokrynskyi.com>2014-10-15 14:55:24 +0200
commit33ada11a648276986d7c0a6e21da27cd10b8823e (patch)
treea79744d062a0c3b5a272cfd0db5a75290b9420bb /apps/files/js/files.js
parent6ec9c99d48571103eafb0997cd3434baa421ccbf (diff)
downloadnextcloud-server-33ada11a648276986d7c0a6e21da27cd10b8823e.tar.gz
nextcloud-server-33ada11a648276986d7c0a6e21da27cd10b8823e.zip
Use function call for FileList.pageSize
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 5fcf99d24af..df268fea6de 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -350,7 +350,7 @@ var createDragShadow = function(event) {
}
// do not show drag shadow for too many files
- var selectedFiles = _.first(FileList.getSelectedFiles(), FileList.pageSize);
+ var selectedFiles = _.first(FileList.getSelectedFiles(), FileList.pageSize());
selectedFiles = _.sortBy(selectedFiles, FileList._fileInfoCompare);
if (!isDragSelected && selectedFiles.length === 1) {