Administration: Restore missing spinner when installing a new language.

Fixes #40478.


git-svn-id: https://develop.svn.wordpress.org/trunk@40579 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2017-05-07 12:00:45 +00:00
parent cd239819b9
commit df479ac58e
2 changed files with 2 additions and 2 deletions

View File

@ -1050,7 +1050,7 @@ jQuery(document).ready( function($) {
// Don't show a spinner for English and installed languages,
// as there is nothing to download.
if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) {
$( '#submit', this ).after( '<span class="spinner language-install-spinner" />' );
$( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' );
}
});
});

View File

@ -78,7 +78,7 @@ function options_general_add_js() {
// Don't show a spinner for English and installed languages,
// as there is nothing to download.
if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) {
$( '#submit', this ).after( '<span class="spinner language-install-spinner" />' );
$( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' );
}
});
});