diff --git src/wp-includes/js/customize-preview-nav-menus.js src/wp-includes/js/customize-preview-nav-menus.js
index 27c5251..6745b41 100644
|
|
wp.customize.navMenusPreview = wp.customize.MenusCustomizerPreview = ( function( |
419 | 419 | return; |
420 | 420 | } |
421 | 421 | |
422 | | navMenuItemParts = $( this ).attr( 'class' ).match( /(?:^|\s)menu-item-(\d+)(?:\s|$)/ ); |
| 422 | navMenuItemParts = $( this ).attr( 'class' ).match( /(?:^|\s)menu-item-(-?\d+)(?:\s|$)/ ); |
423 | 423 | if ( navMenuItemParts ) { |
424 | 424 | e.preventDefault(); |
425 | 425 | e.stopPropagation(); // Make sure a sub-nav menu item will get focused instead of parent items. |