rebase on oct-10-2023
This commit is contained in:
@@ -90,8 +90,10 @@ function options_general_add_js() {
|
||||
|
||||
var languageSelect = $( '#WPLANG' );
|
||||
$( 'form' ).on( 'submit', function() {
|
||||
// Don't show a spinner for English and installed languages,
|
||||
// as there is nothing to download.
|
||||
/*
|
||||
* 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 is-active" />' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user