Customize: Remove theme_installing
notification when installation fails.
Amends [41648]. Props celloexpressions. See #42184, #37661. git-svn-id: https://develop.svn.wordpress.org/trunk@42018 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fdc3e41085
commit
273e0e8ecc
@ -1193,7 +1193,7 @@
|
||||
$button = $( '.theme-install[data-slug="' + response.slug + '"]' );
|
||||
$card = $button.closest( '.theme' ).addClass( 'theme-install-failed' ).append( $message );
|
||||
}
|
||||
$( '.wp-full-overlay' ).removeClass( 'customize-loading' );
|
||||
wp.customize.notifications.remove( 'theme_installing' );
|
||||
} else {
|
||||
if ( $document.find( 'body' ).hasClass( 'full-overlay-active' ) ) {
|
||||
$button = $( '.theme-install[data-slug="' + response.slug + '"]' );
|
||||
|
Loading…
Reference in New Issue
Block a user