only replace feed icon when needed

This commit is contained in:
Andrew Dolgov 2007-08-18 08:19:25 +01:00
parent 014ae469d3
commit f780548aca

View file

@ -682,7 +682,9 @@ function parse_counters(reply, scheduled_call) {
}
if (has_img && feed_img && !is_msie()) {
feed_img.src = getInitParam("icons_location") + "/" + id + ".ico";
if (!feed_img.src.match(id + ".ico")) {
feed_img.src = getInitParam("icons_location") + "/" + id + ".ico";
}
}
if (feedctr && feedu && feedr) {