MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:


$('.spoiler').on( 'click', function (e) {
$('.spoiler').on( 'click', function (e) {
   $(this).toggleClass('spoiler');
   $(this).toggleClass('spoiler:hover');
   e.stopPropagation();
   e.stopPropagation();
} );
} );

Navigation menu