Difference between revisions of "MediaWiki:Common.js"

From Dark Prospects Rules
Jump to navigation Jump to search
(Created page with "Any JavaScript here will be loaded for all users on every page load.: function toccopy () { var tocelement = $('#toc').clone(); $('#mwpanel').append(tocelement); }")
 
Line 5: Line 5:
 
     $('#mwpanel').append(tocelement);
 
     $('#mwpanel').append(tocelement);
 
}
 
}
 +
 +
toccopy();

Revision as of 14:57, 11 August 2017

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

function toccopy () {
    var tocelement = $('#toc').clone();
    $('#mwpanel').append(tocelement);
}

toccopy();