parse_counters: enable feed icons on the fly
This commit is contained in:
parent
70dcff6b3d
commit
527c3bf022
2 changed files with 7 additions and 0 deletions
|
@ -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 (feedctr && feedu && feedr) {
|
||||||
|
|
||||||
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
|
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
|
||||||
|
|
|
@ -2412,6 +2412,9 @@
|
||||||
print "<param key=\"infobox_disable_overlay\" value=\"" .
|
print "<param key=\"infobox_disable_overlay\" value=\"" .
|
||||||
get_pref($link, "_INFOBOX_DISABLE_OVERLAY") . "\"/>";
|
get_pref($link, "_INFOBOX_DISABLE_OVERLAY") . "\"/>";
|
||||||
|
|
||||||
|
print "<param key=\"icons_location\" value=\"" .
|
||||||
|
ICONS_URL . "\"/>";
|
||||||
|
|
||||||
print "</init-params>";
|
print "</init-params>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue