summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-17 12:16:54 +0400
committerAndrew Dolgov <[email protected]>2013-07-17 12:16:54 +0400
commit95be6e0c89e4fcbd04cb59e599caef2685dd5ded (patch)
tree109fb4ad75c1ea77bb4007401a5aaa4bffc1c333 /js
parent054e0905770e3df767e55c72c238baedaffd662f (diff)
fix second row being selected on viewfeed (closes #748)
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js2
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) {