MediaWiki:Vector-2022.js: Difference between revisions
Created page with "$(function () { var indicators = document.querySelector('.mw-indicators'); var titlebar = document.querySelector('.vector-page-titlebar'); if (indicators && titlebar) { titlebar.appendChild(indicators); indicators.style.visibility = ''; // Make it visible } });" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
// MediaWiki:Vector-2022.js | |||
$(function () { | $(function () { | ||
var indicators = document.querySelector('.mw-indicators'); | var indicators = document.querySelector('.mw-indicators'); | ||
| Line 4: | Line 5: | ||
if (indicators && titlebar) { | if (indicators && titlebar) { | ||
titlebar.appendChild(indicators); | titlebar.appendChild(indicators); | ||
indicators.style.visibility = ''; // | indicators.style.visibility = ''; // Or 'visible' | ||
} | } | ||
}); | }); | ||
Revision as of 06:48, 10 May 2025
// MediaWiki:Vector-2022.js
$(function () {
var indicators = document.querySelector('.mw-indicators');
var titlebar = document.querySelector('.vector-page-titlebar');
if (indicators && titlebar) {
titlebar.appendChild(indicators);
indicators.style.visibility = ''; // Or 'visible'
}
});