From e3642715dfb0bca7afa79d9259a9cfd37b6fb45e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 3 Aug 2011 16:54:08 +0400 Subject: [PATCH] cdm auto catchup: mark posts when scrolled above half their height --- viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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-", "")); } -- 2.39.5