diff options
Diffstat (limited to 'www/wiki/extensions/Translate/resources/js/ext.translate.special.importtranslations.js')
-rw-r--r-- | www/wiki/extensions/Translate/resources/js/ext.translate.special.importtranslations.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/wiki/extensions/Translate/resources/js/ext.translate.special.importtranslations.js b/www/wiki/extensions/Translate/resources/js/ext.translate.special.importtranslations.js index d916fcc4..1ba24709 100644 --- a/www/wiki/extensions/Translate/resources/js/ext.translate.special.importtranslations.js +++ b/www/wiki/extensions/Translate/resources/js/ext.translate.special.importtranslations.js @@ -1,4 +1,4 @@ -( function ( $ ) { +( function () { 'use strict'; function buttoner( $input ) { @@ -9,7 +9,7 @@ } } - $( document ).ready( function ( ) { + $( function () { var $input = $( '#mw-translate-up-local-input' ); $input.on( 'change', function () { buttoner( $input ); @@ -17,4 +17,4 @@ buttoner( $input ); } ); -}( jQuery ) ); +}() ); |