prevent automatic selection of headlines row first child when scrolling in 3panel mode because it screws with keyboard navigation (closes #752)

This commit is contained in:
Andrew Dolgov 2013-09-09 14:38:28 +04:00
parent f5967cf825
commit 2e35b3bd6b
1 changed files with 2 additions and 2 deletions

View File

@ -1275,9 +1275,9 @@ function headlines_scroll_handler(e) {
unpackVisibleHeadlines();
// set topmost child in the buffer as active
if (getInitParam("cdm_auto_catchup") == 1 &&
if (isCdmMode() && getInitParam("cdm_auto_catchup") == 1 &&
getSelectedArticleIds2().length <= 1 &&
(!isCdmMode() || getInitParam("cdm_expanded"))) {
getInitParam("cdm_expanded")) {
var rows = $$("#headlines-frame > div[id*=RROW]");
for (var i = 0; i < rows.length; i++) {