MediaWiki:Common.js: Difference between revisions

From SourceWorlds Wiki
Jump to navigation Jump to search
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(function () { var catlinks = document.getElementById('catlinks-sidebar'); var content = document.getElementById('mw-content'); if (catlinks && content) { content.appendChild(catlinks); } });"
 
mNo edit summary
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. */
$(function () {
    var catlinks = document.getElementById('catlinks-sidebar');
    var content = document.getElementById('mw-content');
    if (catlinks && content) {
        content.appendChild(catlinks);
    }
});

Revision as of 16:05, 6 October 2026

/* Any JavaScript here will be loaded for all users on every page load. */