Skip to content

Commit

Permalink
Unneeded fire()
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 24, 2015
1 parent 07f6039 commit f77b369
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions imp/js/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ var ImpMessage = {
type: type,
view: this.mbox
}, {
callback: function(r) {
ImpCompose.fillForm(r);
$(document).fire('AutoComplete:reset');
},
callback: ImpCompose.fillForm.bind(ImpCompose),
uids: [ this.buid ]
});
},
Expand Down

0 comments on commit f77b369

Please sign in to comment.