From eca2931a638e51a9b3f0eccf9885cfdd2e6107a7 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 12 Jun 2013 14:14:15 +1000 Subject: [PATCH] double notification is not really something we need. --- app/assets/javascripts/discourse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse.js b/app/assets/javascripts/discourse.js index 85d55af8b5a..6c18fe5bb02 100644 --- a/app/assets/javascripts/discourse.js +++ b/app/assets/javascripts/discourse.js @@ -75,7 +75,7 @@ Discourse = Ember.Application.createWithMixins({ $('title').text(title); var notifyCount = this.get('notifyCount'); - if (notifyCount > 0) { + if (notifyCount > 0 && !Discourse.SiteSettings.dynamic_favicon) { title = "(" + notifyCount + ") " + title; } // chrome bug workaround see: http://stackoverflow.com/questions/2952384/changing-the-window-title-when-focussing-the-window-doesnt-work-in-chrome