Switch out faviconNotify for favcount.js

This commit is contained in:
Chris Hunt
2013-08-18 11:26:03 -07:00
parent 3735cfdadb
commit 4372fc2f2e
3 changed files with 86 additions and 55 deletions

View File

@ -50,8 +50,8 @@ Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
faviconChanged: function() {
if(Discourse.User.currentProp('dynamic_favicon')) {
$.faviconNotify(
Discourse.SiteSettings.favicon_url, this.get('notifyCount')
new Favcount(Discourse.SiteSettings.favicon_url).set(
this.get('notifyCount')
);
}
}.observes('notifyCount'),