X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.action%2Fmediawiki.action.view.rightClickEdit.js;h=59d1d4f3fe62f4a5c413187d6e72ccbbde460328;hb=1de7117197761961736ea43b237599569eee93a2;hp=35f948ebabcda5cacbaea55306f6f539296f2576;hpb=b37772a99128afe1699a60718ebe2a6f8469aa8f;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js b/resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js index 35f948ebab..59d1d4f3fe 100644 --- a/resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js +++ b/resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js @@ -3,7 +3,7 @@ * When the user right-clicks in a heading, it will open the * edit screen. */ -( function ( $ ) { +( function () { // Trigger this when a contextmenu click on the page targets an h1-h6 element. // This uses a delegate handler which 1) starts immediately instead of blocking // response on dom-ready, and 2) selects and binds once instead of N times. @@ -24,4 +24,4 @@ $edit.get( 0 ).click(); } } ); -}( jQuery ) ); +}() );