MediaWiki:Common.js: Difference between revisions

From Beacon
No edit summary
Tag: Reverted
(Blanked the page)
Tags: Blanking Manual revert
Line 1: Line 1:
$(document).ready(function() {
 
  $('h2').each(function() {
    var content = $(this).html();
    $(this).html('<div class="mw-collapsible">' + content + '</div>');
  });
});

Revision as of 17:24, 20 June 2023