From: Andrew Dolgov Date: Thu, 16 May 2013 06:00:29 +0000 (+0400) Subject: previous patch, fix typo X-Git-Tag: 1.8~101 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4bc6489a80b957519791602811ec8a55cf4e60ca;p=tt-rss.git previous patch, fix typo --- diff --git a/js/viewfeed.js b/js/viewfeed.js index 2142f2e9..de3f660b 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1247,7 +1247,7 @@ function headlines_scroll_handler(e) { for (var i = 0; i < rows.length; i++) { var child = rows[i]; - if (!active_found && $("headlines-frame").scrollTop < child.offsetTop) { + if ($("headlines-frame").scrollTop < child.offsetTop) { if (_active_article_id) { var row = $("RROW-" + _active_article_id); if (row) row.removeClassName("active"); @@ -1255,6 +1255,7 @@ function headlines_scroll_handler(e) { _active_article_id = child.id.replace("RROW-", ""); showArticleInHeadlines(_active_article_id, true); + updateSelectedPrompt(); break; } }