From: Andrew Dolgov Date: Wed, 3 Aug 2011 12:54:08 +0000 (+0400) Subject: cdm auto catchup: mark posts when scrolled above half their height X-Git-Tag: 1.5.6~69 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e3642715dfb0bca7afa79d9259a9cfd37b6fb45e;p=tt-rss.git cdm auto catchup: mark posts when scrolled above half their height --- diff --git a/viewfeed.js b/viewfeed.js index 2ffad4a3..552e42d0 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1321,7 +1321,7 @@ function headlines_scroll_handler(e) { $$("#headlines-frame > div[id*=RROW][class*=Unread]").each( function(child) { if ($("headlines-frame").scrollTop > - (child.offsetTop + child.offsetHeight)) { + (child.offsetTop + child.offsetHeight/2)) { ids.push(child.id.replace("RROW-", "")); }