Skip to content
Snippets Groups Projects
Commit 33ada11a authored by Nazar Mokrynskyi's avatar Nazar Mokrynskyi
Browse files

Use function call for FileList.pageSize

parent 6ec9c99d
No related branches found
No related tags found
No related merge requests found
...@@ -350,7 +350,7 @@ var createDragShadow = function(event) { ...@@ -350,7 +350,7 @@ var createDragShadow = function(event) {
} }
// do not show drag shadow for too many files // 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); selectedFiles = _.sortBy(selectedFiles, FileList._fileInfoCompare);
if (!isDragSelected && selectedFiles.length === 1) { if (!isDragSelected && selectedFiles.length === 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment