fix second row being selected on viewfeed (closes #748)

This commit is contained in:
Andrew Dolgov 2013-07-17 12:16:54 +04:00
parent 054e090577
commit 95be6e0c89

View file

@ -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) {