diff options
author | Andrew Dolgov <[email protected]> | 2005-12-19 06:44:05 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-19 06:44:05 +0100 |
commit | 426d3c57372976359d298fa881ee5d4cd7c3bf1b (patch) | |
tree | f17357b400c9f2f729a78263a739c41afc7c20f8 /functions.js | |
parent | 03095a984add6de3cb841c1475ed903f0c68ab5e (diff) |
parse_counters(): fix bug in marking feed with error updates
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/functions.js b/functions.js index 9193d9b7b..e27beac28 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) { |