MediaWiki:Common.js: Difference between revisions
no edit summary
Piranhaplant (talk | contribs) No edit summary |
Piranhaplant (talk | contribs) No edit summary |
||
Line 3:
// Extra functionality for RAM/ROM maps
$(function() {
for (var i = 0; i < tables.length; i++) {
// Sort table by the first column
table.getElementsByTagName("th")[0].click();
// Add the ending address to the length column
for (var j = 0; j < rows.length; j++) {
row.children[1].title = "[" + address + ", " + endAddress + ")";
}
|