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
This commit is contained in:
parent
cfc3b8e6a5
commit
1a82a12a30
1 changed files with 1 additions and 2 deletions
|
@ -100,8 +100,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
events: {
|
events: {
|
||||||
'change input.search': 'filterContacts',
|
'input input.search': 'filterContacts',
|
||||||
'keyup input.search': 'filterContacts',
|
|
||||||
'select .new-contact': 'addNewRecipient',
|
'select .new-contact': 'addNewRecipient',
|
||||||
'select .contacts': 'addRecipient',
|
'select .contacts': 'addRecipient',
|
||||||
'remove .recipient': 'removeRecipient',
|
'remove .recipient': 'removeRecipient',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue