fix second row being selected on viewfeed (closes #748)
This commit is contained in:
parent
054e090577
commit
95be6e0c89
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue