diff options
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 2fbaf71c120..ca2ce1a1831 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -51,7 +51,7 @@ // number of files per page, calculated dynamically pageSize: function() { - return Math.ceil(this.$el.parent().height() / 50); + return Math.ceil(this.$container.height() / 50); }, /** |