From 426d3c57372976359d298fa881ee5d4cd7c3bf1b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 19 Dec 2005 06:44:05 +0100 Subject: [PATCH] parse_counters(): fix bug in marking feed with error updates --- functions.js | 16 ++++------------ tt-rss.css | 1 + 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/functions.js b/functions.js index 9193d9b7..e27beac2 100644 --- a/functions.js +++ b/functions.js @@ -387,18 +387,10 @@ function parse_counters(reply, f_document) { feedu.innerHTML = ctr; - if (has_img && feed_img) { - if (error) { -// feed_img.src = "images/update_error.png"; - feedr.className = feedr.className.replace("feed", "error"); - } else if (id > 0) { - feedr.className = feedr.className.replace("error", "feed"); -// if (has_img) { -// feed_img.src = getCookie("ttrss_icons_url") + "/" + id + ".ico"; -// } else { -// feed_img.src = "images/blank_icon.gif"; -// } - } + if (error) { + feedr.className = feedr.className.replace("feed", "error"); + } else if (id > 0) { + feedr.className = feedr.className.replace("error", "feed"); } if (ctr > 0) { diff --git a/tt-rss.css b/tt-rss.css index 8ab9ef29..584c41b3 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -225,6 +225,7 @@ ul.feedlist li.tagUnread { } ul.feedlist li.errorSelected a, +ul.feedlist li.error a, ul.feedlist li.errorUnread a, ul.feedlist li.errorUnreadSelected a { color : #f04040; -- 2.39.5