1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

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