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

master
Andrew Dolgov 19 years ago
parent 03095a984a
commit 426d3c5737

@ -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 (ctr > 0) {

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

Loading…
Cancel
Save