]> source.dussan.org Git - nextcloud-server.git/commitdiff
trigger lazy loading earlier, fix #9823
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 7 Aug 2014 22:27:31 +0000 (00:27 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 7 Aug 2014 22:27:31 +0000 (00:27 +0200)
apps/files/js/filelist.js

index 4fa8ca65e39db5d65edc039c5fa2e23bb5a88f77..532ed46696882f6859a2e06e39868b793925eba8 100644 (file)
                 * 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);
                        }
                },