summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-03 16:54:08 +0400
committerAndrew Dolgov <[email protected]>2011-08-03 16:54:08 +0400
commite3642715dfb0bca7afa79d9259a9cfd37b6fb45e (patch)
tree26de4c4aab5f910021473aa4badb875f23779dcc /viewfeed.js
parentf7cffd2cfdf6393243ced4b9a19bd93529f3b1f2 (diff)
cdm auto catchup: mark posts when scrolled above half their height
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
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-", ""));
}