parse_counters(): fix bug in marking feed with error updates

This commit is contained in:
Andrew Dolgov 2005-12-19 06:44:05 +01:00
parent 03095a984a
commit 426d3c5737
2 changed files with 5 additions and 12 deletions

View File

@ -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) {

View File

@ -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;