Don't update the favicon if you have Unread Count when opening the options.
This commit is contained in:
parent
24f0f3df05
commit
75f8ae0bd7
@ -1439,7 +1439,7 @@
|
||||
favicon: function() {
|
||||
$.cb.value.call(this);
|
||||
Favicon["switch"]();
|
||||
if (g.REPLY) Favicon.update();
|
||||
if (g.REPLY && conf['Unread Count']) Favicon.update();
|
||||
return this.nextElementSibling.innerHTML = "<img src=" + Favicon.unreadSFW + "><img src=" + Favicon.unreadNSFW + "><img src=" + Favicon.unreadDead + ">";
|
||||
}
|
||||
};
|
||||
|
||||
@ -1076,7 +1076,7 @@ options =
|
||||
favicon: ->
|
||||
$.cb.value.call @
|
||||
Favicon.switch()
|
||||
Favicon.update() if g.REPLY
|
||||
Favicon.update() if g.REPLY and conf['Unread Count']
|
||||
@nextElementSibling.innerHTML = "<img src=#{Favicon.unreadSFW}><img src=#{Favicon.unreadNSFW}><img src=#{Favicon.unreadDead}>"
|
||||
|
||||
cooldown =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user