mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@32890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
21d76509c4
commit
842347841e
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user