summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-09 08:41:14 +0100
committerAndrew Dolgov <[email protected]>2007-08-09 08:41:14 +0100
commitb3c67a4803d50fe115bf1b5185c98b64bc9a0864 (patch)
tree9c91709a3a50cb92fb0fffc507d3bd851f9c96d6 /viewfeed.js
parentac541432000c24fee20cf0e0ce0881aa6437455a (diff)
infinite scrolling: tweaks
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js
index e464f2198..09cdbafbc 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -966,7 +966,7 @@ function headlines_scroll_handler() {
var e = document.getElementById("headlinesInnerContainer");
- if (e.scrollTop + e.offsetHeight == e.scrollHeight) {
+ if (e.scrollTop + e.offsetHeight > e.scrollHeight - (e.scrollHeight/4)) {
debug("more cowbell!");
viewNextFeedPage();