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:
parent
71cdd9a3e1
commit
59230dd5ab
|
@ -97,7 +97,7 @@
|
|||
|
||||
events: {
|
||||
'input #menu-items-search': 'debounceSearch',
|
||||
'change #menu-items-search': 'debounceSearch',
|
||||
'keyup #menu-items-search': 'debounceSearch',
|
||||
'click #menu-items-search': 'debounceSearch',
|
||||
'focus .menu-item-tpl': 'focus',
|
||||
'click .menu-item-tpl': '_submit',
|
||||
|
|
Loading…
Reference in New Issue