mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Avoid duplicate spaces.
This commit is contained in:
parent
5ad0bca7e9
commit
722649c1fd
@ -403,7 +403,7 @@ consoleMock ?=
|
||||
if window.webkitNotifications.checkPermission() is 0
|
||||
title = WCF.Language.get 'wcf.chat.newMessages'
|
||||
icon = WCF.Icon.get 'be.bastelstu.wcf.chat.chat'
|
||||
content = message.username + message.separator + ' ' + message.message
|
||||
content = message.username + message.separator + (message.separator is ' ' ? '' : ' ') + message.message
|
||||
notification = window.webkitNotifications.createNotification icon, title, content
|
||||
notification.show()
|
||||
setTimeout(() ->
|
||||
|
Loading…
Reference in New Issue
Block a user