MediaWiki:Vector-2022.js: Difference between revisions
m fixing the last edit |
mNo edit summary |
||
| Line 1: | Line 1: | ||
$(function() { | $(function() { | ||
// create body overlay | // create body overlay | ||
$('body').children().wrapAll('<div class="mw-body- | $('body').children().wrapAll('<div class="mw-body-wrapper"></div>'); | ||
// create object just for packground | // create object just for packground | ||
$('.mw-body- | $('.mw-body-wrapper').prepend('<div class="custom-bg-overlay"></div>'); | ||
$('.custom- | $('.custom-bg-overlay').css({'height': $('.mw-body-wrapper').outerHeight()}); | ||
}); | }); | ||