MediaWiki:Gadget-SpoilerWarning.js: Difference between revisions

No edit summary
 
m (1 revision imported)
 

Latest revision as of 13:21, August 16, 2023

/* Script for Template:Spoiler */

$(function() {
	$('.spoiler-overlay').click(function () {
		$(this).parent().removeClass('spoiler-hidden');
		$(this).remove();
	});
});