diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index d3e76a8..83cf9e9 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -600,7 +600,7 @@ Joins a room. loading = false $('#timsChatTopic').text data.returnValues.topic - if data.topic is '' + if data.returnValues.topic.trim() is '' $('#timsChatTopic').addClass 'empty' else $('#timsChatTopic').removeClass 'empty'