Jump to content

MediaWiki:Common.js: Difference between revisions

let's try this approach to running the function
(removing all but one alert(); either the code fires or it doesn't...)
(let's try this approach to running the function)
Line 571: Line 571:
}
}


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