MediaWiki:Vector-2022.js: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
| Line 3: | Line 3: | ||
var titlebar = document.querySelector('.vector-page-titlebar'); | var titlebar = document.querySelector('.vector-page-titlebar'); | ||
if (indicators && titlebar) { | if (indicators && titlebar) { | ||
titlebar.appendChild(indicators); | titlebar.appendChild(indicators); | ||
} | } | ||
}); | }); | ||
Revision as of 06:59, 10 May 2025
$(function () {
var indicators = document.querySelector('.mw-indicators');
var titlebar = document.querySelector('.vector-page-titlebar');
if (indicators && titlebar) {
titlebar.appendChild(indicators);
}
});