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

master
Andrew Dolgov 12 years ago
parent 054e090577
commit 95be6e0c89

@ -1283,7 +1283,7 @@ function headlines_scroll_handler(e) {
for (var i = 0; i < rows.length; i++) { for (var i = 0; i < rows.length; i++) {
var child = rows[i]; var child = rows[i];
if ($("headlines-frame").scrollTop < child.offsetTop && if ($("headlines-frame").scrollTop <= child.offsetTop &&
child.offsetTop - $("headlines-frame").scrollTop < 100 && child.offsetTop - $("headlines-frame").scrollTop < 100 &&
child.id.replace("RROW-", "") != _active_article_id) { child.id.replace("RROW-", "") != _active_article_id) {

Loading…
Cancel
Save