Make WordPress Core

Changeset 31985


Ignore:
Timestamp:
04/02/2015 05:17:19 PM (10 years ago)
Author:
ocean90
Message:

Customizer: Update selector, missed in [31984].

see #28784.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-widgets.js

    r31974 r31985  
    178178            // interacted with (i.e. available widgets panel is blurred) then close the
    179179            // available widgets panel.
    180             $( '#customize-controls, .customize-close-overlay' ).on( 'click keydown', function( e ) {
     180            $( '#customize-controls, .customize-overlay-close' ).on( 'click keydown', function( e ) {
    181181                var isAddNewBtn = $( e.target ).is( '.add-new-widget, .add-new-widget *' );
    182182                if ( $( 'body' ).hasClass( 'adding-widget' ) && ! isAddNewBtn ) {
Note: See TracChangeset for help on using the changeset viewer.