1ec65f29 |
$().ready(-> |
43b171a9 |
$(window).resize( ->
App.UI.setAutoHeight()
).trigger('resize') |
43899b3a |
|
3a34499e |
Backbone.Events.on('resizeWorkspace', -> App.UI.setAutoHeight())
|
82fcdc6f |
$('#js-search-contacts').keyup( -> |
43899b3a |
searchTerm = $(this).val()
App.UI.filterContacts(searchTerm)
) |
82fcdc6f |
|
4e3ef079 |
$('.chat-alert .close').click((e) ->
e.preventDefault()
$('.chat-alert').fadeOut(250, ->
$(this).html('').show()
)
)
setTimeout(->
$('.chat-alert .close').click()
, 2000); |
910e0f23 |
$('#add-contact').click((e) -> |
82fcdc6f |
e.preventDefault() |
910e0f23 |
$('#js-popup .close').click()
popup = new Xmpp.Views.Popup.AddContactView()
popup.render() |
82fcdc6f |
) |
1ec65f29 |
) |