parse_counters: enable feed icons on the fly

master
Andrew Dolgov 17 years ago
parent 70dcff6b3d
commit 527c3bf022

@ -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) {

@ -2412,6 +2412,9 @@
print "<param key=\"infobox_disable_overlay\" value=\"" .
get_pref($link, "_INFOBOX_DISABLE_OVERLAY") . "\"/>";
print "<param key=\"icons_location\" value=\"" .
ICONS_URL . "\"/>";
print "</init-params>";
}

Loading…
Cancel
Save