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