Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
function showAllEntries() { | function showAllEntries() { | ||
− | var opt = new Option("all", " | + | var opt = new Option("all", "2000"); |
$(opt).html("all"); | $(opt).html("all"); | ||
var t = $('label select[name="DataTables_Table_0_length"]').append(opt); | var t = $('label select[name="DataTables_Table_0_length"]').append(opt); | ||
} | } |
Revision as of 16:43, 4 May 2023
/* Any JavaScript here will be loaded for all users on every page load. */ setTimeout( showAllEntries, 5000); function showAllEntries() { var opt = new Option("all", "2000"); $(opt).html("all"); var t = $('label select[name="DataTables_Table_0_length"]').append(opt); }