diff --git src/wp-includes/js/customize-selective-refresh.js src/wp-includes/js/customize-selective-refresh.js
index 0735b23..0bf22e1 100644
|
|
wp.customize.selectiveRefresh = ( function( $, api ) { |
120 | 120 | if ( ! $placementContainer.length || $placementContainer.is( illegalContainerSelector ) || $placementContainer.closest( illegalAncestorSelector ).length ) { |
121 | 121 | return; |
122 | 122 | } |
| 123 | // Prevent nav_menu widgets from getting an edit shortcut for the nav_menu in addition to the widget shortcut |
| 124 | if ( 'nav_menu' === partial.getType() && $placementContainer.closest( '.widget_nav_menu' ).length ) { |
| 125 | return; |
| 126 | } |
123 | 127 | $shortcut = partial.createEditShortcut(); |
124 | 128 | $shortcut.on( 'click', function( event ) { |
125 | 129 | event.preventDefault(); |