From 33ada11a648276986d7c0a6e21da27cd10b8823e Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Wed, 15 Oct 2014 14:55:24 +0200 Subject: [PATCH] Use function call for FileList.pageSize --- apps/files/js/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 5fcf99d24a..df268fea6d 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) {