MediaWiki

Monobook.js: Difference between revisions

No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
document.write('<script type="text/javascript" src="/js/view_mode_production_vanipedia.js"></' + 'script>');
function addJs(js) { $('<script type="text/javascript" src="' + js + '"></script>').insertAfter('#globalWrapper'); }
document.write('<link rel="stylesheet" type="text/css" href="/css/view_mode_vanipedia.css" />');
 
$(document).ready(function() {
    addJs('https://vanisource.org/js-include/vanisearch-template-adjust.js');
});

Latest revision as of 06:29, 13 June 2017

function addJs(js) { $('<script type="text/javascript" src="' + js + '"></script>').insertAfter('#globalWrapper'); }

$(document).ready(function() {
    addJs('https://vanisource.org/js-include/vanisearch-template-adjust.js');
});