From d09aad7c80f32afc77db5877b468a7ad4c2caab5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 7 May 2019 19:06:29 +0300 Subject: [PATCH] fix read categories not being hidden when hide read feeds is enabled --- js/FeedTree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/FeedTree.js b/js/FeedTree.js index b43cad627..1dcbae3f9 100755 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -353,7 +353,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"], if (node) { const check_unread = tree.model.getFeedUnread(bare_id, true); - if (hide && cat_unread <= 0 && check_unread == 0 && (id != "CAT:-1" || !show_special)) { + if (hide && cat_unread <= 0 && check_unread <= 0 && (id != "CAT:-1" || !show_special)) { Effect.Fade(node[0].rowNode, {duration : 0.3, queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }}); } else {