User:Euphoria/common.js: Difference between revisions
From Test Wiki
Content deleted Content added
fix |
fix |
||
Line 8:
$('#mw-content-text').find('h2, h3').each(function() {
const heading = this;
// Skip if wrapped inside .vfd
if ($(heading).closest('.vfd').length) return;
// Skip if no wikilinks in this heading
if (!$(heading).find('a').length) return;
const container = document.createElement('span');
| |||