MediaWiki

Group-Grouse.js: Difference between revisions

From Grouse House Wiki

No edit summary
No edit summary
Line 2: Line 2:
     $('h2.c-header.active').each(function () {
     $('h2.c-header.active').each(function () {
         var $elem = $(this);
         var $elem = $(this);
        $elem.css( 'color', 'red');
$elem.after('<div class="space"></div>');
     });
     });
  });
  });

Revision as of 00:24, 3 February 2024

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