diff options
author | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-15 15:24:03 +0200 |
---|---|---|
committer | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-15 15:24:03 +0200 |
commit | da27797e8d99931a299d1a8811d43d30053c69f6 (patch) | |
tree | b61ec95f571b267ff51d190ecee5e6b6b4272995 /apps/files/js | |
parent | 5033fc4e5249d996800af64afc6488088f3fc220 (diff) | |
download | nextcloud-server-da27797e8d99931a299d1a8811d43d30053c69f6.tar.gz nextcloud-server-da27797e8d99931a299d1a8811d43d30053c69f6.zip |
Even better - usage of this.$container instead of this.$el.parent()
Diffstat (limited to 'apps/files/js')
-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); }, /** |