MediaWiki
Group-Grouse.js: Difference between revisions
From Grouse House Wiki
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
var $header = $(this); | var $header = $(this); | ||
var $headername = $header.html(); | var $headername = $header.html(); | ||
console.log( | console.log(headername); | ||
$elem.after('<div class="space"></div>'); | $elem.after('<div class="space"></div>'); | ||
}); | }); | ||
}); | }); | ||
Revision as of 00:31, 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>');
});
});
