X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.htmlform%2Fcheckmatrix.js;h=955e1ce8e712b5aeca1e656d7fcf6b011caeade0;hb=c9db90712628d43573f47a2b32dca0778cd8f1f7;hp=b825f12b98a58addda1fbb0d349d2db79319b174;hpb=99a57ca021d6e2c7bb25d927d47d8657e60b48e8;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.htmlform/checkmatrix.js b/resources/src/mediawiki.htmlform/checkmatrix.js index b825f12b98..955e1ce8e7 100644 --- a/resources/src/mediawiki.htmlform/checkmatrix.js +++ b/resources/src/mediawiki.htmlform/checkmatrix.js @@ -2,7 +2,7 @@ * HTMLForm enhancements: * Show fancy tooltips for checkmatrix fields. */ -( function ( mw ) { +( function () { mw.hook( 'htmlform.enhance' ).add( function ( $root ) { var $matrixTooltips = $root.find( '.mw-htmlform-matrix .mw-htmlform-tooltip' ); @@ -13,4 +13,4 @@ } } ); -}( mediaWiki ) ); +}() );