Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
opt.innerHTML = 'all'; | opt.innerHTML = 'all'; | ||
− | select = document. | + | select = document.getElementsByName('DataTables_Table_0_length'); |
select.appendChild(opt); | select.appendChild(opt); | ||
} ); | } ); |
Revision as of 14:59, 24 April 2023
/* Any JavaScript here will be loaded for all users on every page load. */ $(document).ready( function () { opt = document.createElement('option'); opt.value = 1500; opt.innerHTML = 'all'; select = document.getElementsByName('DataTables_Table_0_length'); select.appendChild(opt); } );