Clone and replace favicon only on Firefox.
This commit is contained in:
parent
925b7fc795
commit
a2f1c83503
@ -2684,9 +2684,11 @@
|
||||
l = unread.replies.length;
|
||||
favicon = $('link[rel="shortcut icon"]', d.head);
|
||||
favicon.href = g.dead ? l ? Favicon.unreadDead : Favicon.dead : l ? Favicon.unread : Favicon["default"];
|
||||
if (engine === "Gecko") {
|
||||
clone = favicon.cloneNode(true);
|
||||
return $.replace(favicon, clone);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
redirect = function() {
|
||||
|
||||
@ -2090,6 +2090,7 @@ Favicon =
|
||||
Favicon.default
|
||||
|
||||
#XXX `favicon.href = href` doesn't work on Firefox
|
||||
if engine is "Gecko"
|
||||
clone = favicon.cloneNode true
|
||||
$.replace favicon, clone
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user