summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js')
-rw-r--r--www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js b/www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js
index 007d2da1..67610f52 100644
--- a/www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js
+++ b/www/wiki/extensions/Translate/resources/js/ext.translate.special.pagetranslation.js
@@ -1,13 +1,13 @@
/*!
* @author Santhosh Thottingal
* @author Niklas Laxström
- * @license GPL-2.0+
+ * @license GPL-2.0-or-later
*/
-( function ( $, mw ) {
+( function () {
'use strict';
- $( document ).ready( function () {
+ $( function () {
$( '#wpUserLanguage' ).multiselectautocomplete( { inputbox: '#tpt-prioritylangs' } );
$( '#mw-content-text' ).on( 'click', '.mw-translate-jspost', function ( e ) {
@@ -23,4 +23,4 @@
e.preventDefault();
} );
} );
-}( jQuery, mediaWiki ) );
+}() );