Use input instead of keyup/change events

In lieu of a click event, the change event was being fired when clicking
out of the search input. The input event seems to be what we actually want.

Fixes #273
pull/749/head
lilia 10 years ago
parent cfc3b8e6a5
commit 1a82a12a30

@ -100,8 +100,7 @@
},
events: {
'change input.search': 'filterContacts',
'keyup input.search': 'filterContacts',
'input input.search': 'filterContacts',
'select .new-contact': 'addNewRecipient',
'select .contacts': 'addRecipient',
'remove .recipient': 'removeRecipient',

Loading…
Cancel
Save