Administration: Restore missing spinner when installing a new language.

Fixes #40478.

Built from https://develop.svn.wordpress.org/trunk@40579


git-svn-id: http://core.svn.wordpress.org/trunk@40449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia
2017-05-07 12:01:42 +00:00
parent fe96a729a0
commit 98402b7c15
3 changed files with 3 additions and 3 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" />' );
}
});
});