Customizer: Update selector, missed in [31984].
see #28784. git-svn-id: https://develop.svn.wordpress.org/trunk@31985 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
340cb573ae
commit
2563a4f802
|
@ -177,7 +177,7 @@
|
|||
// If the available widgets panel is open and the customize controls are
|
||||
// interacted with (i.e. available widgets panel is blurred) then close the
|
||||
// available widgets panel.
|
||||
$( '#customize-controls, .customize-close-overlay' ).on( 'click keydown', function( e ) {
|
||||
$( '#customize-controls, .customize-overlay-close' ).on( 'click keydown', function( e ) {
|
||||
var isAddNewBtn = $( e.target ).is( '.add-new-widget, .add-new-widget *' );
|
||||
if ( $( 'body' ).hasClass( 'adding-widget' ) && ! isAddNewBtn ) {
|
||||
self.close();
|
||||
|
|
Loading…
Reference in New Issue