[JobQueue] Added missing delete query.
[mediawiki.git] / resources / mediawiki.page / mediawiki.page.startup.js
blob6a11d3e15f26f1b9237de118aaaac86209dcd004
1 ( function ( mw, $ ) {
3 mw.page = {};
5 // Client profile classes for <html>
6 // Allows for easy hiding/showing of JS or no-JS-specific UI elements
7 $( 'html' )
8 .addClass('client-js' )
9 .removeClass( 'client-nojs' );
11 // Initialize utilities as soon as the document is ready (mw.util.$content,
12 // messageBoxNew, profile, tooltip access keys, Table of contents toggle, ..).
13 // Enqueued into domready from here instead of mediawiki.page.ready to ensure that it gets enqueued
14 // before other modules hook into document ready, so that mw.util.$content (defined by mw.util.init),
15 // is defined for them.
16 $( mw.util.init );
18 }( mediaWiki, jQuery ) );