(Insert after #globalWrapper, to avoid CSS.) |
(Update id for footer.) |
||
Line 4: | Line 4: | ||
$("header").insertAfter("#globalWrapper"); | $("header").insertAfter("#globalWrapper"); | ||
$(".contents").insertAfter("header"); | $(".contents").insertAfter("header"); | ||
− | $("footer").insertAfter(".contents"); | + | $("footer-n").insertAfter(".contents"); |
Revision as of 17:31, 12 October 2017
/*
Move header, contents and footer as far outside as possible of all those ridiculous divs, to avoid preloaded MediaWiki CSS.
- /
$("header").insertAfter("#globalWrapper"); $(".contents").insertAfter("header"); $("footer-n").insertAfter(".contents");