From: Andrew Dolgov Date: Fri, 17 Aug 2007 16:15:14 +0000 (+0100) Subject: parse_counters: enable feed icons on the fly X-Git-Tag: 1.2.14~35 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=527c3bf0221b28973dbd668e92ab9f91578914d2;p=tt-rss.git parse_counters: enable feed icons on the fly --- 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 ""; }