mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix hiding of topic when empty
This commit is contained in:
parent
7b04bcff73
commit
08681fe56c
@ -600,7 +600,7 @@ Joins a room.
|
|||||||
loading = false
|
loading = false
|
||||||
|
|
||||||
$('#timsChatTopic').text data.returnValues.topic
|
$('#timsChatTopic').text data.returnValues.topic
|
||||||
if data.topic is ''
|
if data.returnValues.topic.trim() is ''
|
||||||
$('#timsChatTopic').addClass 'empty'
|
$('#timsChatTopic').addClass 'empty'
|
||||||
else
|
else
|
||||||
$('#timsChatTopic').removeClass 'empty'
|
$('#timsChatTopic').removeClass 'empty'
|
||||||
|
Loading…
Reference in New Issue
Block a user