adjust scroll amount to trigger auto-opening next unread feed

This commit is contained in:
Andrew Dolgov 2014-07-25 15:40:38 +04:00
parent 2d2ec8a81a
commit 74217c72a1

View file

@ -1365,7 +1365,7 @@ function headlines_scroll_handler(e) {
var child = $$("#headlines-frame div[id*=RROW]").last(); var child = $$("#headlines-frame div[id*=RROW]").last();
if (child && $("headlines-frame").scrollTop > if (child && $("headlines-frame").scrollTop >
(child.offsetTop + child.offsetHeight/2)) { (child.offsetTop + child.offsetHeight - 50)) {
console.log("we seem to be at an end"); console.log("we seem to be at an end");