diff options
author | Andrew Dolgov <[email protected]> | 2007-08-18 08:19:25 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-18 08:19:25 +0100 |
commit | f780548aca80e360c930a608f7e3707494401a07 (patch) | |
tree | e3496d850ea9101c0cc18f8f9d399498f40aad83 /functions.js | |
parent | 014ae469d3e8106bb6176d20bfc5cf1c120d80e9 (diff) |
only replace feed icon when needed
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 4 |
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) { |