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: =>
@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