From 05138dff876a8b9ea40d96fc25bc9b544bf82b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 22 Jan 2012 14:07:49 +0100 Subject: [PATCH] Changes title format for message notification --- file/js/TimWolla.WCF.Chat.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/js/TimWolla.WCF.Chat.coffee b/file/js/TimWolla.WCF.Chat.coffee index 1b8bf2c..b8257bf 100644 --- a/file/js/TimWolla.WCF.Chat.coffee +++ b/file/js/TimWolla.WCF.Chat.coffee @@ -250,7 +250,7 @@ TimWolla.WCF ?= {} return if (@isActive or $('#chatNotify').data('status') is 0) @newMessageCount++ - document.title = @newMessageCount + ' ' + WCF.Language.get('wcf.chat.newMessages') + ' - ' + @titleTemplate.fetch({ title: $('#chatRoomList .activeMenuItem a').text() }) + document.title = '(' + @newMessageCount + ') ' + @titleTemplate.fetch({ title: $('#chatRoomList .activeMenuItem a').text() }) if typeof window.webkitNotifications isnt 'undefined' if window.webkitNotifications.checkPermission() is 0