]> git.wh0rd.org - tt-rss.git/commitdiff
previous patch, fix typo
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 16 May 2013 06:00:29 +0000 (10:00 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 16 May 2013 06:00:29 +0000 (10:00 +0400)
js/viewfeed.js

index 2142f2e96bc00a830c68df1953c685b8c8efd2cf..de3f660bed0b638dcb4c694e7c5f8c210f17fb98 100644 (file)
@@ -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;
                                }
                        }