Monobook.js: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
function addJs(js) { $('<script type="text/javascript" src="' + js + '"></script>').insertAfter('#globalWrapper'); } | |||
// document.write('<script type="text/javascript" src="/js/view_mode_production_vanipedia.js"></' + 'script>'); | // document.write('<script type="text/javascript" src="/js/view_mode_production_vanipedia.js"></' + 'script>'); | ||
// document.write('<link rel="stylesheet" type="text/css" href="/css/view_mode_production_vanipedia.css" />'); | // document.write('<link rel="stylesheet" type="text/css" href="/css/view_mode_production_vanipedia.css" />'); | ||
$(document).ready(function() { | |||
addJs('http://vanisource.org/js-include/vanisearch-template-adjust.js'); | addJs('http://vanisource.org/js-include/vanisearch-template-adjust.js'); | ||
}); |
Revision as of 12:47, 4 June 2017
function addJs(js) { $('<script type="text/javascript" src="' + js + '"></script>').insertAfter('#globalWrapper'); } // document.write('<script type="text/javascript" src="/js/view_mode_production_vanipedia.js"></' + 'script>'); // document.write('<link rel="stylesheet" type="text/css" href="/css/view_mode_production_vanipedia.css" />'); $(document).ready(function() { addJs('http://vanisource.org/js-include/vanisearch-template-adjust.js'); });