From 4bc6489a80b957519791602811ec8a55cf4e60ca Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Thu, 16 May 2013 10:00:29 +0400
Subject: [PATCH] previous patch, fix typo

---
 js/viewfeed.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/js/viewfeed.js b/js/viewfeed.js
index 2142f2e96..de3f660be 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;
 				}
 			}
-- 
GitLab