diff options
author | Andrew Dolgov <[email protected]> | 2013-07-17 12:16:54 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-07-17 12:16:54 +0400 |
commit | 95be6e0c89e4fcbd04cb59e599caef2685dd5ded (patch) | |
tree | 109fb4ad75c1ea77bb4007401a5aaa4bffc1c333 /js | |
parent | 054e0905770e3df767e55c72c238baedaffd662f (diff) |
fix second row being selected on viewfeed (closes #748)
Diffstat (limited to 'js')
-rw-r--r-- | js/viewfeed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index dd1c64326..b62058ca8 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1283,7 +1283,7 @@ function headlines_scroll_handler(e) { for (var i = 0; i < rows.length; i++) { var child = rows[i]; - if ($("headlines-frame").scrollTop < child.offsetTop && + if ($("headlines-frame").scrollTop <= child.offsetTop && child.offsetTop - $("headlines-frame").scrollTop < 100 && child.id.replace("RROW-", "") != _active_article_id) { |