Make WordPress Core

Changeset 25027


Ignore:
Timestamp:
08/15/2013 01:48:05 PM (11 years ago)
Author:
helen
Message:

Make sure the close button in the Customizer still works after a refresh. props lessbloat. fixes #22682.

File:
1 edited

Legend:

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

    r23417 r25027  
    863863                return;
    864864            if ( 13 === event.which ) // enter
    865                 parent.send( 'close' );
     865                this.click();
    866866            event.preventDefault();
    867867        });
Note: See TracChangeset for help on using the changeset viewer.