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

This commit is contained in:
Andrew Dolgov 2011-08-03 16:54:08 +04:00
parent f7cffd2cfd
commit e3642715df
1 changed files with 1 additions and 1 deletions

View File

@ -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-", ""));
} }