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 | |
910e0f23 | # $('.chat-alert').on('click', '.close', (e) -> # e.preventDefault() # $('.chat-alert').fadeOut(250, -> $(this).html('')) # ) $('#add-contact').click((e) -> |
82fcdc6f | e.preventDefault() |
910e0f23 | $('#js-popup .close').click() popup = new Xmpp.Views.Popup.AddContactView() popup.render() |
82fcdc6f | ) |
1ec65f29 | ) |