Make WordPress Core

Changeset 32824


Ignore:
Timestamp:
06/17/2015 09:36:11 PM (9 years ago)
Author:
ocean90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-nav-menus.js

    r32815 r32824  
    9898        events: {
    9999            'input #menu-items-search': 'debounceSearch',
    100             'change #menu-items-search': 'debounceSearch',
     100            'keyup #menu-items-search': 'debounceSearch',
    101101            'click #menu-items-search': 'debounceSearch',
    102102            'focus .menu-item-tpl': 'focus',
Note: See TracChangeset for help on using the changeset viewer.