Merge pull request #10280 from owncloud/lazyloading-earlier

trigger lazy loading earlier, fix #9823
This commit is contained in:
Morris Jobke 2014-08-08 10:02:43 +02:00
commit fa260b1649

View File

@ -400,7 +400,7 @@
* This appends/renders the next page of entries when reaching the bottom.
*/
_onScroll: function(e) {
if (this.$container.scrollTop() + this.$container.height() > this.$el.height() - 100) {
if (this.$container.scrollTop() + this.$container.height() > this.$el.height() - 300) {
this._nextPage(true);
}
},