Customizer: Don't add a menu item twice when using the keyboard.
Buttons don't need keyboard events, they natively support keyboard interaction and they just need a click event. fixes #32665. Built from https://develop.svn.wordpress.org/trunk@32890 git-svn-id: http://core.svn.wordpress.org/trunk@32861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e8245ba0e
commit
4a13015c98
|
@ -101,7 +101,6 @@
|
|||
'click #menu-items-search': 'debounceSearch',
|
||||
'focus .menu-item-tpl': 'focus',
|
||||
'click .menu-item-tpl': '_submit',
|
||||
'keypress .menu-item-tpl': '_submit',
|
||||
'click #custom-menu-item-submit': '_submitLink',
|
||||
'keypress #custom-menu-item-name': '_submitLink',
|
||||
'keydown': 'keyboardAccessible'
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32889';
|
||||
$wp_version = '4.3-alpha-32890';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue