MediaWiki:Common.js: Difference between revisions

removed extra function call
m (fix update)
(removed extra function call)
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 css = document.createElement('link');
    css.rel = 'stylesheet';
    css.href = window.location.protocol + '//' + window.location.host + '/hf/hf.css';
    var head = document.querySelector('head');
    head.insertBefore(css, head.childNodes[0]);
    var body = document.querySelector('body');
    body.insertBefore(document.createElement('header'), body.childNodes[0]);
    body.appendChild(document.createElement('footer'));
})();


(function() {
(function() {
117

edits