summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-18 08:19:25 +0100
committerAndrew Dolgov <[email protected]>2007-08-18 08:19:25 +0100
commitf780548aca80e360c930a608f7e3707494401a07 (patch)
treee3496d850ea9101c0cc18f8f9d399498f40aad83
parent014ae469d3e8106bb6176d20bfc5cf1c120d80e9 (diff)
only replace feed icon when needed
-rw-r--r--functions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 5999673bc..b5b8f7b63 100644
--- a/functions.js
+++ b/functions.js
@@ -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) {