MediaWiki:Common.js: Difference between revisions
no edit summary
Piranhaplant (talk | contribs) No edit summary |
Piranhaplant (talk | contribs) No edit summary |
||
Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
function runUntilSuccess(f) {
(function run() {
}
})();
}▼
// Extra functionality for RAM/ROM maps
// Sort table by the first column
runUntilSuccess(function
var tables = document.getElementsByClassName("ram_rom_map");
for (var i = 0; i < tables.length; i++) {
Line 17 ⟶ 23:
}
} else {
}
}
return true;
});
▲ if (rerun) {
▲ setTimeout(trySort, 10);
▲}
// Add the ending address to the length column
|