From df479ac58ec2aaee54be131c0231859655d6b389 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sun, 7 May 2017 12:00:45 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/ms.php | 2 +- src/wp-admin/includes/options.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index 939d0d08b7..142aaee5f0 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -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( '' ); + $( '#submit', this ).after( '' ); } }); }); diff --git a/src/wp-admin/includes/options.php b/src/wp-admin/includes/options.php index 14c175de23..a085a4ad5c 100644 --- a/src/wp-admin/includes/options.php +++ b/src/wp-admin/includes/options.php @@ -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( '' ); + $( '#submit', this ).after( '' ); } }); });