mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:25:55 +00:00
fix second row being selected on viewfeed (closes #748)
This commit is contained in:
@@ -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) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user