Customizer: Fix keyboard events for the menu items search field.

Replace the `change` event with `keyup`, see https://core.trac.wordpress.org/ticket/26600#comment:59 for background.

props tywayne.
fixes #32677.

git-svn-id: https://develop.svn.wordpress.org/trunk@32824 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-06-17 21:36:11 +00:00
parent 71cdd9a3e1
commit 59230dd5ab
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@
events: { events: {
'input #menu-items-search': 'debounceSearch', 'input #menu-items-search': 'debounceSearch',
'change #menu-items-search': 'debounceSearch', 'keyup #menu-items-search': 'debounceSearch',
'click #menu-items-search': 'debounceSearch', 'click #menu-items-search': 'debounceSearch',
'focus .menu-item-tpl': 'focus', 'focus .menu-item-tpl': 'focus',
'click .menu-item-tpl': '_submit', 'click .menu-item-tpl': '_submit',