diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-09-11 09:22:46 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-09-11 09:23:04 +0400 |
| commit | c08367f944afaef8e49aac4bb778b31dbdfcc34b (patch) | |
| tree | 2fcbe96d6cb483f4ad77e5c482c1195eee0fe706 /js/viewfeed.js | |
| parent | 10afc7c63b9c18d457f3ff0b126423911201297f (diff) | |
tweak infscroll with hsp existing
Diffstat (limited to 'js/viewfeed.js')
| -rw-r--r-- | js/viewfeed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 9e43e29cc..53219b159 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1117,7 +1117,7 @@ function headlines_scroll_handler(e) { var hsp = $("headlines-spacer"); if (!_infscroll_disable) { - if ((hsp && e.scrollTop + e.offsetHeight > hsp.offsetTop) || + if ((hsp && e.scrollTop + e.offsetHeight >= hsp.offsetTop - hsp.offsetHeight) || (e.scrollHeight != 0 && ((e.scrollTop + e.offsetHeight) / e.scrollHeight >= 0.7))) { |