diff --git a/feedlist.js b/feedlist.js index c3860da55..428a054f1 100644 --- a/feedlist.js +++ b/feedlist.js @@ -916,7 +916,7 @@ function selectFeed(feed, is_cat) { if (treeNode) { treeNode = treeNode[0]; - tree._expandNode(treeNode); + if (!is_cat) tree._expandNode(treeNode); tree._selectNode(treeNode); } diff --git a/tt-rss.js b/tt-rss.js index f7beba474..8864e81a3 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -315,8 +315,10 @@ function init() { var id = String(item.id); var is_cat = id.match("^CAT:"); var feed = id.substr(id.indexOf(":")+1); - viewfeed(feed, '', is_cat); + viewfeed(feed, '', is_cat); + return false; }, + openOnClick: false, showRoot: false, }, "feedTree");