Don't update the favicon if you have Unread Count when opening the options.

This commit is contained in:
Nicolas Stepien 2011-12-07 23:12:53 +01:00
parent 24f0f3df05
commit 75f8ae0bd7
2 changed files with 2 additions and 2 deletions

View File

@ -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 + ">";
}
};

View File

@ -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 =