From: Andrew Dolgov Date: Fri, 25 Jul 2014 11:40:38 +0000 (+0400) Subject: adjust scroll amount to trigger auto-opening next unread feed X-Git-Tag: 1.14~51 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=74217c72a1afc9fc7c2c7bea53c736b2246d6bae;p=tt-rss.git adjust scroll amount to trigger auto-opening next unread feed --- 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");