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