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:
@@ -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',
|
||||||
|
Reference in New Issue
Block a user