this.$el is not the same as $('#app-content')
That is why we use `this.$el.parent()` instead
This commit is contained in:
parent
33ada11a64
commit
9de874f015
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue