mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 21:45:56 +00:00
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:
@@ -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++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user