Difference between revisions of "MediaWiki:Common.js"
Nils Duepont (talk | contribs) |
|||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | |||
+ | // Add the default datatables markup | ||
+ | $( '#ccode' ).dataTable(); | ||
+ | |||
+ | } ); |
Revision as of 15:09, 12 December 2018
/* Any JavaScript here will be loaded for all users on every page load. */ $(document).ready(function() { // Add the default datatables markup $( '#ccode' ).dataTable(); } );