MediaWiki:Common.js: Difference between revisions

From Official Kynseed Wiki from PixelCount Studios
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: function ShowSpoiler(section) { document.getElementById(section + 'Spoiler').style.display = 'block'; }")
 
No edit summary
 
(10 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. */
mw.loader.load("/resources/js/common.js");
 
console.log('loaded common js');
function ShowSpoiler(section) {
document.getElementById(section + 'Spoiler').style.display = 'block';
}

Latest revision as of 12:16, 7 December 2022

mw.loader.load("/resources/js/common.js");
console.log('loaded common js');