Difference between revisions of "MediaWiki:Common.js"

From CJ-JT Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
  
$(document).ready( function () {
+
setTimeout( showAllEntries, 5000);
     var opt = new Option("all", "1500");
+
 
 +
function showAllEntries() {
 +
     var opt = new Option("all", "10000");
 
     $(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);
    console.log(t);
+
}
} );
 

Latest revision as of 16:50, 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", "10000");
    $(opt).html("all");
    var t = $('label select[name="DataTables_Table_0_length"]').append(opt);
}