app/assets/javascripts/chat.js.coffee
1ec65f29
 $().ready(->
43b171a9
   $(window).resize( ->
     App.UI.setAutoHeight()
   ).trigger('resize')
43899b3a
 
82fcdc6f
   $('#js-search-contacts').keyup( ->
43899b3a
     searchTerm = $(this).val()
     App.UI.filterContacts(searchTerm)
   )
82fcdc6f
 
   $('.chat-alert').on('click', '.close', (e) ->
     e.preventDefault()
     $('.chat-alert').fadeOut(250, -> $(this).html(''))
   )
1ec65f29
 )