fix for issue #6
This commit is contained in:
parent
893fc79dee
commit
a2b02286ce
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue