MediaWiki:Common.js: Difference between revisions
From VanRO Ragnarok Online
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(document).ready(function() { $('#wpUploadOwnWork').closest('tr').hide(); // Hides the checkbox });") |
No edit summary |
||
Line 1: | Line 1: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('#wpUploadOwnWork'). | $('#wpUploadOwnWork').prop('checked', true); // Automatically checks the checkbox | ||
}); | }); |
Revision as of 01:38, 15 May 2024
$(document).ready(function() { $('#wpUploadOwnWork').prop('checked', true); // Automatically checks the checkbox });