From 59230dd5abfdd314de59702e6ce83c716cd60c0e Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 17 Jun 2015 21:36:11 +0000 Subject: [PATCH] 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 --- src/wp-admin/js/customize-nav-menus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/customize-nav-menus.js b/src/wp-admin/js/customize-nav-menus.js index f3ac58dd70..1f797b0aa7 100644 --- a/src/wp-admin/js/customize-nav-menus.js +++ b/src/wp-admin/js/customize-nav-menus.js @@ -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',