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:
parent
f5967cf825
commit
2e35b3bd6b
|
@ -1275,9 +1275,9 @@ function headlines_scroll_handler(e) {
|
||||||
unpackVisibleHeadlines();
|
unpackVisibleHeadlines();
|
||||||
|
|
||||||
// set topmost child in the buffer as active
|
// set topmost child in the buffer as active
|
||||||
if (getInitParam("cdm_auto_catchup") == 1 &&
|
if (isCdmMode() && getInitParam("cdm_auto_catchup") == 1 &&
|
||||||
getSelectedArticleIds2().length <= 1 &&
|
getSelectedArticleIds2().length <= 1 &&
|
||||||
(!isCdmMode() || getInitParam("cdm_expanded"))) {
|
getInitParam("cdm_expanded")) {
|
||||||
var rows = $$("#headlines-frame > div[id*=RROW]");
|
var rows = $$("#headlines-frame > div[id*=RROW]");
|
||||||
|
|
||||||
for (var i = 0; i < rows.length; i++) {
|
for (var i = 0; i < rows.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue