cdm auto catchup: mark posts when scrolled above half their height

master
Andrew Dolgov 14 years ago
parent f7cffd2cfd
commit e3642715df

@ -1321,7 +1321,7 @@ function headlines_scroll_handler(e) {
$$("#headlines-frame > div[id*=RROW][class*=Unread]").each( $$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
function(child) { function(child) {
if ($("headlines-frame").scrollTop > if ($("headlines-frame").scrollTop >
(child.offsetTop + child.offsetHeight)) { (child.offsetTop + child.offsetHeight/2)) {
ids.push(child.id.replace("RROW-", "")); ids.push(child.id.replace("RROW-", ""));
} }

Loading…
Cancel
Save