From 74217c72a1afc9fc7c2c7bea53c736b2246d6bae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 25 Jul 2014 15:40:38 +0400 Subject: [PATCH] adjust scroll amount to trigger auto-opening next unread feed --- js/viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/viewfeed.js b/js/viewfeed.js index 76248415..8f4b6dfe 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"); -- 2.39.5