diff options
author | Andrew Dolgov <[email protected]> | 2011-08-03 16:54:08 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-08-03 16:54:08 +0400 |
commit | e3642715dfb0bca7afa79d9259a9cfd37b6fb45e (patch) | |
tree | 26de4c4aab5f910021473aa4badb875f23779dcc | |
parent | f7cffd2cfdf6393243ced4b9a19bd93529f3b1f2 (diff) |
cdm auto catchup: mark posts when scrolled above half their height
-rw-r--r-- | viewfeed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js index 2ffad4a3d..552e42d03 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-", "")); } |