Make WordPress Core

Changeset 42018


Ignore:
Timestamp:
10/25/2017 01:13:09 AM (7 years ago)
Author:
westonruter
Message:

Customize: Remove theme_installing notification when installation fails.

Amends [41648].
Props celloexpressions.
See #42184, #37661.

File:
1 edited

Legend:

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

    r41978 r42018  
    11941194                $card   = $button.closest( '.theme' ).addClass( 'theme-install-failed' ).append( $message );
    11951195            }
    1196             $( '.wp-full-overlay' ).removeClass( 'customize-loading' );
     1196            wp.customize.notifications.remove( 'theme_installing' );
    11971197        } else {
    11981198            if ( $document.find( 'body' ).hasClass( 'full-overlay-active' ) ) {
Note: See TracChangeset for help on using the changeset viewer.