mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Changes title format for message notification
This commit is contained in:
parent
48531785a9
commit
05138dff87
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user