From: Jan-Christoph Borchardt Date: Thu, 7 Aug 2014 22:27:31 +0000 (+0200) Subject: trigger lazy loading earlier, fix #9823 X-Git-Tag: v8.0.0alpha1~945^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ee0a5759862c469709113624ab255994d106f4a;p=nextcloud-server.git trigger lazy loading earlier, fix #9823 --- diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 4fa8ca65e39..532ed466968 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -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); } },