mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:55:56 +00:00
parse_counters: enable feed icons on the fly
This commit is contained in:
@@ -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>";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user