mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 16:31:29 +00:00
only replace feed icon when needed
This commit is contained in:
@@ -682,8 +682,10 @@ function parse_counters(reply, scheduled_call) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (has_img && feed_img && !is_msie()) {
|
if (has_img && feed_img && !is_msie()) {
|
||||||
|
if (!feed_img.src.match(id + ".ico")) {
|
||||||
feed_img.src = getInitParam("icons_location") + "/" + id + ".ico";
|
feed_img.src = getInitParam("icons_location") + "/" + id + ".ico";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (feedctr && feedu && feedr) {
|
if (feedctr && feedu && feedr) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user