Inline a one-line function only used in one place

// FREEBIE
This commit is contained in:
lilia 2015-12-05 18:46:32 -08:00
parent 9c59dfda93
commit 85285a1094

View file

@ -135,11 +135,8 @@
input.removeClass('active'); input.removeClass('active');
} }
}, },
hideHints: function() {
this.searchView.hideHints();
},
openConversation: function(e, conversation) { openConversation: function(e, conversation) {
this.hideHints(); this.searchView.hideHints();
conversation = ConversationController.create(conversation); conversation = ConversationController.create(conversation);
this.conversation_stack.open(conversation); this.conversation_stack.open(conversation);
this.hideCompose(); this.hideCompose();