23,098
edits
mNo edit summary |
mNo edit summary |
||
Line 37: | Line 37: | ||
|| $('.section-heading:nth-last-of-type(2) > .mw-headline:is(#Sources, #References)').length) | || $('.section-heading:nth-last-of-type(2) > .mw-headline:is(#Sources, #References)').length) | ||
$('section:nth-last-of-type(2) > .navbox').detach().appendTo('.navbox-section'); | $('section:nth-last-of-type(2) > .navbox').detach().appendTo('.navbox-section'); | ||
if ($.trim($('.navbox-section').text()) == '') | if ($.trim($('.navbox-section').text()) == '') | ||
$('.navbox-section').attr('style', 'display:none !important'); | $('.navbox-section').attr('style', 'display:none !important'); | ||
} | } | ||
}); | }); |