From 08681fe56c3082ca8ce9c0e7bd516e9c2098229e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 26 May 2013 18:59:38 +0200 Subject: [PATCH] Fix hiding of topic when empty --- file/js/be.bastelstu.Chat.litcoffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'