aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorNazar Mokrynskyi <nazar@mokrynskyi.com>2014-10-15 15:24:03 +0200
committerNazar Mokrynskyi <nazar@mokrynskyi.com>2014-10-15 15:24:03 +0200
commitda27797e8d99931a299d1a8811d43d30053c69f6 (patch)
treeb61ec95f571b267ff51d190ecee5e6b6b4272995 /apps/files/js
parent5033fc4e5249d996800af64afc6488088f3fc220 (diff)
downloadnextcloud-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.js2
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);
},
/**