MediaWiki:Vector-2022.js: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
$(function () { | $(function () { | ||
var indicators = document.querySelector('.mw-indicators'); | var indicators = document.querySelector('.mw-indicators'); | ||
| Line 5: | Line 4: | ||
if (indicators && titlebar) { | if (indicators && titlebar) { | ||
titlebar.appendChild(indicators); | titlebar.appendChild(indicators); | ||
indicators.style. | indicators.style.display = ''; // Restore default display (usually 'block' or 'inline') | ||
} | } | ||
}); | }); | ||
Revision as of 06:54, 10 May 2025
$(function () {
var indicators = document.querySelector('.mw-indicators');
var titlebar = document.querySelector('.vector-page-titlebar');
if (indicators && titlebar) {
titlebar.appendChild(indicators);
indicators.style.display = ''; // Restore default display (usually 'block' or 'inline')
}
});