summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-07-25 15:40:38 +0400
committerAndrew Dolgov <[email protected]>2014-07-25 15:40:38 +0400
commit74217c72a1afc9fc7c2c7bea53c736b2246d6bae (patch)
treec152583568a745775ce0d3b2892a24bfe5fc47fe /js
parent2d2ec8a81aed56a90c22d4db85f9694fb3a09232 (diff)
adjust scroll amount to trigger auto-opening next unread feed
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 76248415a..8f4b6dfe8 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -1365,7 +1365,7 @@ function headlines_scroll_handler(e) {
var child = $$("#headlines-frame div[id*=RROW]").last();
if (child && $("headlines-frame").scrollTop >
- (child.offsetTop + child.offsetHeight/2)) {
+ (child.offsetTop + child.offsetHeight - 50)) {
console.log("we seem to be at an end");