diff options
author | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-15 14:16:17 +0200 |
---|---|---|
committer | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-15 14:16:17 +0200 |
commit | 6ec9c99d48571103eafb0997cd3434baa421ccbf (patch) | |
tree | d4b3f45a2041582f722ab8b9611a413e8803e530 | |
parent | 257cf1fc34e3054ec5b5926fba2199200dbbc442 (diff) | |
download | nextcloud-server-6ec9c99d48571103eafb0997cd3434baa421ccbf.tar.gz nextcloud-server-6ec9c99d48571103eafb0997cd3434baa421ccbf.zip |
Use this.$el instead of the absolute selector
-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 eafef6c2a5e..b8df55760be 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($('#app-content').height() / 50); + return Math.ceil(this.$el.height() / 50); }, /** |