previous patch, fix typo
This commit is contained in:
parent
cc8d254a61
commit
4bc6489a80
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue