Jump to content

MediaWiki:Common.js: Difference between revisions

From Bhutan
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.using('mediawiki.util').then(function () {
    var sidebar = document.getElementById('mw-sidebar');
    if (sidebar) {
        sidebar.classList.add('mw-sidebar-visible');
    }
});

Revision as of 23:20, 19 March 2025

/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.using('mediawiki.util').then(function () {
    var sidebar = document.getElementById('mw-sidebar');
    if (sidebar) {
        sidebar.classList.add('mw-sidebar-visible');
    }
});