mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 23:51:57 +00:00
feedtree: prevent hideReadFeeds from working on category nodes
This commit is contained in:
@@ -298,6 +298,8 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
||||
|
||||
items.each(function(feed) {
|
||||
var id = String(feed.id);
|
||||
|
||||
if (!id.match("^CAT:")) {
|
||||
var bare_id = parseInt(feed.bare_id);;
|
||||
|
||||
var unread = feed.unread[0];
|
||||
@@ -312,6 +314,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
||||
++cat_unread;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return cat_unread;
|
||||
|
||||
Reference in New Issue
Block a user