Jump to content

MediaWiki:Common.js: Difference between revisions

back to this approach
(restoring all debug messages; the function is in fact firing but not working sometimes)
(back to this approach)
Line 578: Line 578:
}
}


jQuery(document).ready(function($)
$(window).bind("load", sortSortableTables);
{
    // Wrapped in "mw.loader.using" so this doesn't execute until Tablesorter has loaded
    mw.loader.using('jquery.tablesorter', sortSortableTables);
});