Replace $( document ).ready(...) by $(...)

In jQuery 3 $(document).ready(...) is deprecated.
https://jquery.com/upgrade-guide/3.0/#deprecated-document-ready-handlers-other-than-jquery-function

Change-Id: I1a9f578d8cf8fa2d9dd38a1b2d3a0b3c32914b74
This commit is contained in:
Fomafix
2017-01-06 14:10:55 +01:00
parent f321007508
commit 47cfd9c1ae
5 changed files with 5 additions and 5 deletions

View File

@@ -506,7 +506,7 @@
if ( document.readyState === 'interactive' ) {
createCompactList();
} else {
$( document ).ready( createCompactList );
$( createCompactList );
}
}( jQuery, mediaWiki ) );