MediaWiki:Vector.js: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "→All JavaScript here will be loaded for users of the Vector skin: " Tags: Replaced Manual revert |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* All JavaScript here will be loaded for users of the Vector skin */ | /* All JavaScript here will be loaded for users of the Vector skin */ | ||
/* Use this for hooking into wiki pages with ep infobox for uppercase */ | |||
document.addEventListener('DOMContentLoaded', function() { | |||
if (document.querySelector('.infobox')) { | |||
document.body.classList.add('has-infobox'); | |||
} | |||
}); |
Revision as of 11:44, 26 July 2025
/* All JavaScript here will be loaded for users of the Vector skin */
/* Use this for hooking into wiki pages with ep infobox for uppercase */
document.addEventListener('DOMContentLoaded', function() {
if (document.querySelector('.infobox')) {
document.body.classList.add('has-infobox');
}
});
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.