MediaWiki:Minerva.js: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
$(function() { | $(function() { | ||
$('.navbox-heading + section + .navbox-heading > .mw-headline').text('More links'); | $('.navbox-heading + section + .navbox-heading > .mw-headline').text('More links'); | ||
$(' | $('.navbox-heading + section + .navbox-heading + section + .navbox-heading').attr('style', 'display:none'); | ||
$('.navbox-heading + section + .navbox-heading + section + .navbox-heading + section').attr('style', 'display:none'); | |||
$(' | |||
}); | }); |
Revision as of 20:35, April 10, 2021
/* All JavaScript here will be loaded for users of the MinervaNeue skin */
/* Multiple navbox sections */
$(function() {
$('.navbox-heading + section + .navbox-heading > .mw-headline').text('More links');
$('.navbox-heading + section + .navbox-heading + section + .navbox-heading').attr('style', 'display:none');
$('.navbox-heading + section + .navbox-heading + section + .navbox-heading + section').attr('style', 'display:none');
});