From a2b02286ce81f5cb2b8b830cbb6170e652867549 Mon Sep 17 00:00:00 2001 From: hanneshal Date: Thu, 3 Jan 2013 23:55:18 +0100 Subject: [PATCH] fix for issue #6 --- app/assets/javascripts/app/controllers/chat_widget.js.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/javascripts/app/controllers/chat_widget.js.coffee b/app/assets/javascripts/app/controllers/chat_widget.js.coffee index 3c686a314..1ba91b82d 100644 --- a/app/assets/javascripts/app/controllers/chat_widget.js.coffee +++ b/app/assets/javascripts/app/controllers/chat_widget.js.coffee @@ -105,6 +105,7 @@ class App.ChatWidget extends App.Controller show: => @isShown = true + @el.find('#chat_toogle').html('×'); if @newMessage @el.find('div.well').addClass('alert-success') @delay( => @@ -138,6 +139,8 @@ class App.ChatWidget extends App.Controller hide: => @isShown = false @el.find('#chat_content').hide(100) + @el.find('#chat_content').hide(100) + @el.find('#chat_toogle').html('♦'); focusIn: => @focus = true