fix for issue #6

This commit is contained in:
hanneshal 2013-01-03 23:55:18 +01:00
parent 893fc79dee
commit a2b02286ce

View file

@ -105,6 +105,7 @@ class App.ChatWidget extends App.Controller
show: => show: =>
@isShown = true @isShown = true
@el.find('#chat_toogle').html('×');
if @newMessage if @newMessage
@el.find('div.well').addClass('alert-success') @el.find('div.well').addClass('alert-success')
@delay( => @delay( =>
@ -138,6 +139,8 @@ class App.ChatWidget extends App.Controller
hide: => hide: =>
@isShown = false @isShown = false
@el.find('#chat_content').hide(100) @el.find('#chat_content').hide(100)
@el.find('#chat_content').hide(100)
@el.find('#chat_toogle').html('♦');
focusIn: => focusIn: =>
@focus = true @focus = true