Actions

User

Canadabonk/spoiler.js: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 May 2026

27 June 2024

31 May 2024

  • curprev 00:5000:50, 31 May 2024 dev>Canadabonk 458 bytes +458 Created page with "$(document).ready(function(){ $('#spoilerbtn').text('Show all spoilers'); //spoiler block behavior $('.spoiler').click(function(){ $(this).toggleClass('off'); }); // spoiler button behavior $('#spoilerbtn').click(function(){ $(this).toggleClass('hide'); $('.spoiler').toggleClass('showall'); if (this.classList.contains('hide')){ $(this).text('Hide all spoilers'); } else { $(this).text('Show all spoilers'); } }); });"