From 282b445a43eaf34f79e946fd2e41bcf96a365fbe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 21 Feb 2020 14:12:10 +0300 Subject: [PATCH] feed tree: don't set Special class on Labels category --- js/FeedTree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/FeedTree.js b/js/FeedTree.js index fafa07682..a1a48d586 100755 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -163,7 +163,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"], if (item.auxcounter > 0) rc += " Has_Aux"; if (item.markedcounter > 0) rc += " Has_Marked"; if (item.updates_disabled > 0) rc += " UpdatesDisabled"; - if (item.bare_id < 0 || item.bare_id == 0 && !is_cat) rc += " Special"; + if (item.bare_id < 0 && !is_cat || item.bare_id == 0 && !is_cat) rc += " Special"; if (item.bare_id == -1 && is_cat) rc += " AlwaysVisible"; return rc;