MediaWiki:Common.js: Difference between revisions

From Official Kynseed Wiki from PixelCount Studios
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 6: Line 6:


jQuery(document).ready(function() {
jQuery(document).ready(function() {
alert('test');
jQuery('[spoiler]').on('click', function() {
jQuery('[spoiler]').on('click', function() {
alert('test');
alert('test');
});
});
});
});

Revision as of 11:49, 7 December 2022

/* Any JavaScript here will be loaded for all users on every page load. */

//function ShowSpoiler(section) {
//document.getElementById(section + 'Spoiler').style.display = 'block';
//}

jQuery(document).ready(function() {
alert('test');
	jQuery('[spoiler]').on('click', function() {
		alert('test');
	});
});