MediaWiki:Common.js: Difference between revisions

From WeSISpedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
$(document).ready(function() {
$(document).ready(function() {


    // Add the default datatables markup
mw.loader.using( 'ext.datatables', function() {
  // Add the default datatables markup
     $( '#ccode' ).dataTable();
     $( '#ccode' ).dataTable();
});
   


} );
} );

Revision as of 14:39, 12 December 2018

/* Any JavaScript here will be loaded for all users on every page load. */

$(document).ready(function() {

mw.loader.using( 'ext.datatables', function() {
   // Add the default datatables markup
    $( '#ccode' ).dataTable();
 });
    

} );