diff --git src/wp-includes/js/customize-selective-refresh.js src/wp-includes/js/customize-selective-refresh.js
index a09965e..f47239d 100644
|
|
wp.customize.selectiveRefresh = ( function( $, api ) { |
1024 | 1024 | } ); |
1025 | 1025 | |
1026 | 1026 | body.on( 'click', function( event ) { |
1027 | | if ( $( event.target ).is( '.customize-partial-edit-shortcut, :input, a[href]' ) || 0 !== $( event.target ).closest( 'a' ).length ) { |
| 1027 | if ( $( event.target ).is( '.customize-partial-edit-shortcut, :input, button *, a[href], a[href] *, object, object *, [tabindex], [tabindex] *' ) ) { |
1028 | 1028 | return; // Don't toggle shortcuts on form, link, or link child clicks. |
1029 | 1029 | } |
1030 | 1030 | api.selectiveRefresh.editShortcutVisibility.set( 'visible' === api.selectiveRefresh.editShortcutVisibility.get() ? 'hidden' : 'visible' ); |