MediaWiki

Group-Grouse.js: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
Line 1: Line 1:
$(function() {
$(function() {
     $('h2.c-header.active').each(function () {
     $('h2.c-header.active').each(function () {
         var $elem = $(this);
         var $header = $(this);
        var $headername = $header.html()
        console.log($headername);
$elem.after('<div class="space"></div>');
$elem.after('<div class="space"></div>');
     });
     });
  });
  });

Revision as of 00:29, 3 February 2024

$(function() {
    $('h2.c-header.active').each(function () {
        var $header = $(this);
        var $headername = $header.html()
        console.log($headername);
$elem.after('<div class="space"></div>');
    });
 });