MediaWiki:Vector-2022.js: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 4: Line 4:
     if (indicators && titlebar) {
     if (indicators && titlebar) {
         titlebar.appendChild(indicators);
         titlebar.appendChild(indicators);
        indicators.style.display = ''; // Restore default display (usually 'block' or 'inline')
     }
     }
});
});

Revision as of 06:55, 10 May 2025

$(function () {
    var indicators = document.querySelector('.mw-indicators');
    var titlebar = document.querySelector('.vector-page-titlebar');
    if (indicators && titlebar) {
        titlebar.appendChild(indicators);
    }
});