Even simpler favicon refresh.
This commit is contained in:
parent
84dbb47ea8
commit
ce20c769b2
@ -3141,7 +3141,7 @@
|
||||
if (conf['Unread Count']) d.title = "(" + count + ") " + unread.title;
|
||||
if (!(conf['Unread Favicon'] && count < 2 || forceUpdate)) return;
|
||||
Favicon.el.href = g.dead ? count ? Favicon.unreadDead : Favicon.dead : count ? Favicon.unread : Favicon["default"];
|
||||
if (engine !== 'webkit') return $.add(d.head, $.rm(Favicon.el));
|
||||
if (engine !== 'webkit') return $.add(d.head, Favicon.el);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -2457,7 +2457,7 @@ unread =
|
||||
#`favicon.href = href` isn't enough on Opera
|
||||
#Opera won't always update the favicon if the href didn't not change
|
||||
if engine isnt 'webkit'
|
||||
$.add d.head, $.rm Favicon.el
|
||||
$.add d.head, Favicon.el
|
||||
|
||||
Favicon =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user