Use this.$el instead of the absolute selector

remotes/origin/fix-10825
Nazar Mokrynskyi 11 years ago
parent 257cf1fc34
commit 6ec9c99d48
  1. 2
      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);
},
/**

Loading…
Cancel
Save