previous patch, fix typo

This commit is contained in:
Andrew Dolgov 2013-05-16 10:00:29 +04:00
parent cc8d254a61
commit 4bc6489a80
1 changed files with 2 additions and 1 deletions

View File

@ -1247,7 +1247,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 (!active_found && $("headlines-frame").scrollTop < child.offsetTop) { if ($("headlines-frame").scrollTop < child.offsetTop) {
if (_active_article_id) { if (_active_article_id) {
var row = $("RROW-" + _active_article_id); var row = $("RROW-" + _active_article_id);
if (row) row.removeClassName("active"); if (row) row.removeClassName("active");
@ -1255,6 +1255,7 @@ function headlines_scroll_handler(e) {
_active_article_id = child.id.replace("RROW-", ""); _active_article_id = child.id.replace("RROW-", "");
showArticleInHeadlines(_active_article_id, true); showArticleInHeadlines(_active_article_id, true);
updateSelectedPrompt();
break; break;
} }
} }