Use function call for FileList.pageSize

This commit is contained in:
Nazar Mokrynskyi 2014-10-15 14:55:24 +02:00
parent 6ec9c99d48
commit 33ada11a64
1 changed files with 1 additions and 1 deletions

View File

@ -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) {