From cbcbb0840799187ad40a94236c9b923ffe8d8aaa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Aug 2008 05:12:10 +0100 Subject: [PATCH] parse_counters: set correct classes for feed counter elements --- functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", ""); } } -- 2.39.5