WordPress.org

Make WordPress Core

Changeset 27306


Ignore:
Timestamp:
02/27/2014 12:17:38 AM (6 years ago)
Author:
nacin
Message:

Themes screen: Clicking back through history should properly close the overlay.

props gcorne.
fixes #27198.

File:
1 edited

Legend:

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

    r27268 r27306  
    343343            this.$el.fadeOut( 130, function() {
    344344                // Clicking outside the modal box closes the overlay
    345                 $( 'body' ).removeClass( 'theme-overlay-open closing-overlay' );
     345                $( 'body' ).removeClass( 'closing-overlay' );
    346346                // Handle event cleanup
    347347                self.closeOverlay();
     
    379379    // the theme details overlay
    380380    closeOverlay: function() {
     381        $( 'body' ).removeClass( 'theme-overlay-open' );
    381382        this.remove();
    382383        this.unbind();
Note: See TracChangeset for help on using the changeset viewer.