From 527c3bf0221b28973dbd668e92ab9f91578914d2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 17 Aug 2007 17:15:14 +0100 Subject: [PATCH] parse_counters: enable feed icons on the fly --- functions.js | 4 ++++ functions.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/functions.js b/functions.js index db3332d6..5999673b 100644 --- a/functions.js +++ b/functions.js @@ -681,6 +681,10 @@ function parse_counters(reply, scheduled_call) { } } + if (has_img && feed_img && !is_msie()) { + feed_img.src = getInitParam("icons_location") + "/" + id + ".ico"; + } + if (feedctr && feedu && feedr) { if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) { diff --git a/functions.php b/functions.php index 01618abd..0f9694ed 100644 --- a/functions.php +++ b/functions.php @@ -2412,6 +2412,9 @@ print ""; + print ""; + print ""; }