mw.hook( 'wikipage.content' ) gets fired after document ready.
Change-Id: Ia1536e734f8ae08cc7cc07c3b1854bdaafb54866
*/
/* Remember the collapse state of the legend on recent changes and watchlist pages. */
-( function ( mw, $ ) {
+( function ( mw ) {
var
cookieName = 'changeslist-state',
// Expanded by default
} );
};
- $( function () {
- mw.hook( 'wikipage.content' ).add( doCollapsibleLegend );
- } );
-}( mediaWiki, jQuery ) );
+ mw.hook( 'wikipage.content' ).add( doCollapsibleLegend );
+}( mediaWiki ) );