Jump to content

MediaWiki:Common.js: Difference between revisions

m
oops
(attempting to use new ES6 await feature)
m (oops)
Line 525: Line 525:
async function sortSortableTables()
async function sortSortableTables()
{
{
     await sleep(2000);
     await wikiSleep(2000);
     console.log("Sorting the autosort tables.");
     console.log("Sorting the autosort tables.");
     // Iterate over all <div> elements
     // Iterate over all <div> elements