MediaWiki:Vector-2022.js: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 4: | Line 4: | ||
if (indicators && titlebar) { | if (indicators && titlebar) { | ||
titlebar.appendChild(indicators); | titlebar.appendChild(indicators); | ||
} | } | ||
}); | }); | ||
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);
}
});