diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2007-08-09 08:41:14 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2007-08-09 08:41:14 +0100 |
| commit | b3c67a4803d50fe115bf1b5185c98b64bc9a0864 (patch) | |
| tree | 9c91709a3a50cb92fb0fffc507d3bd851f9c96d6 /viewfeed.js | |
| parent | ac541432000c24fee20cf0e0ce0881aa6437455a (diff) | |
infinite scrolling: tweaks
Diffstat (limited to 'viewfeed.js')
| -rw-r--r-- | viewfeed.js | 2 |
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(); |