MediaWiki:Common.js: Difference between revisions

No edit summary
mNo edit summary
Line 1: Line 1:
/* [[Template:Spoiler]] https://support.wiki.gg/wiki/Template:Spoiler */
/* [[Template:Spoiler]] https://support.wiki.gg/wiki/Template:Spoiler */
$(function () {
$(function () {
$('.spoiler-content')
$('.spoiler')
.off('click') // in case this code is loaded twice
.off('click') // in case this code is loaded twice
.addClass( 'hide')
.addClass( 'hide')