From: Andrew Dolgov Date: Fri, 8 Aug 2008 04:12:10 +0000 (+0100) Subject: parse_counters: set correct classes for feed counter elements X-Git-Tag: 1.2.26~20 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=cbcbb0840799187ad40a94236c9b923ffe8d8aaa;p=tt-rss.git parse_counters: set correct classes for feed counter elements --- diff --git a/functions.js b/functions.js index 42e22619..574f1e6b 100644 --- a/functions.js +++ b/functions.js @@ -532,7 +532,7 @@ function parse_counters(reply, scheduled_call) { } if (ctr > 0) { - feedctr.className = "odd"; + feedctr.className = "catCtrHasUnread"; if (!feedr.className.match("Unread")) { var is_selected = feedr.className.match("Selected"); @@ -552,7 +552,7 @@ function parse_counters(reply, scheduled_call) { queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } ); } } else { - feedctr.className = "invisible"; + feedctr.className = "catCtrNoUnread"; feedr.className = feedr.className.replace("Unread", ""); } }