MediaWiki:Vector-2022.js: Difference between revisions

From The Reed and Rite
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 } });"
 
m Protected "MediaWiki:Vector-2022.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
     if (indicators && titlebar) {
     if (indicators && titlebar) {
         titlebar.appendChild(indicators);
         titlebar.appendChild(indicators);
        indicators.style.visibility = ''; // Make it visible
     }
     }
});
});

Latest revision as of 07:48, 10 May 2025

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