this.$el is not the same as $('#app-content')

That is why we use `this.$el.parent()` instead
remotes/origin/fix-10825
Nazar Mokrynskyi 12 years ago
parent 33ada11a64
commit 9de874f015
  1. 2
      apps/files/js/filelist.js

@ -51,7 +51,7 @@
// number of files per page, calculated dynamically
pageSize: function() {
return Math.ceil(this.$el.height() / 50);
return Math.ceil(this.$el.parent().height() / 50);
},
/**

Loading…
Cancel
Save