1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

feedtree.selectFeed: focus headlines-frame after selection

This commit is contained in:
Andrew Dolgov
2017-05-12 08:05:35 +03:00
parent 8f0a59f34a
commit 7590f03961
2 changed files with 6 additions and 1 deletions

View File

@@ -357,6 +357,11 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
if (!is_cat) this._expandNode(treeNode);
this.set("selectedNodes", [treeNode]);
this.focusNode(treeNode);
// focus headlines to route key events there
setTimeout(function() {
$("headlines-frame").focus();
}, 0);
}
},
setFeedIcon: function(feed, is_cat, src) {