From f780548aca80e360c930a608f7e3707494401a07 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 18 Aug 2007 08:19:25 +0100 Subject: only replace feed icon when needed --- functions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'functions.js') 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) { -- cgit v1.2.3