🚀 Hostinger Optimized
🖥️ Server: LiteSpeed
💻 System: Linux in-mum-web1398.main-hosting.eu 4.18.0-553.107.1.lve.el8.x86_64 #1 SMP Tue Feb 24 21:12:31 UTC 2026 x86_64
👤 User: u344267476 (344267476)
🐘 PHP: 8.3.30
🚫 Disabled: ✨ NONE

💻 Terminal

📁 /home/u344267476/domains/nawaidir.com.pk/public_html/epaper
$

📄 language-chooser.js

📁 Path: /home/u344267476/domains/nawaidir.com.pk/public_html/epaper/wp-admin/js/language-chooser.js
📊 Size: 890 B
🔒 Perm: 0644
📝 MIME: text/plain
/**
 * @output wp-admin/js/language-chooser.js
 */

jQuery( function($) {
/*
 * Set the correct translation to the continue button and show a spinner
 * when downloading a language.
 */
var select = $( '#language' ),
	submit = $( '#language-continue' );

if ( ! $( 'body' ).hasClass( 'language-chooser' ) ) {
	return;
}

select.trigger( 'focus' ).on( 'change', function() {
	/*
	 * When a language is selected, set matching translation to continue button
	 * and attach the language attribute.
	 */
	var option = select.children( 'option:selected' );
	submit.attr({
		value: option.data( 'continue' ),
		lang: option.attr( 'lang' )
	});
});

$( 'form' ).on( 'submit', function() {
	// Show spinner for languages that need to be downloaded.
	if ( ! select.children( 'option:selected' ).data( 'installed' ) ) {
		$( this ).find( '.step .spinner' ).css( 'visibility', 'visible' );
	}
});

});
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨