Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git] / resources / src / mediawiki.page.ready.js
index e147664..12009d1 100644 (file)
@@ -1,4 +1,4 @@
-( function ( mw, $ ) {
+( function () {
        mw.hook( 'wikipage.content' ).add( function ( $content ) {
                var $sortable, $collapsible;
 
                        mw.hook( 'wikipage.categories' ).fire( $nodes );
                }
 
-               $( '#t-print a' ).click( function ( e ) {
+               $( '#t-print a' ).on( 'click', function ( e ) {
                        window.print();
                        e.preventDefault();
                } );
        } );
 
-}( mediaWiki, jQuery ) );
+}() );