[Pkg-owncloud-commits] [owncloud] 67/121: trigger lazy loading earlier, fix #9823

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 4593d9f81986d0e9fc9c83144a1b6d1f872a4531
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Fri Aug 8 00:27:31 2014 +0200

    trigger lazy loading earlier, fix #9823
---
 apps/files/js/filelist.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 4fa8ca6..532ed46 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);
 			}
 		},

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list