Difference between revisions of "MediaWiki:Common.js"

From The New NATO Treaty
(subscribe form insert)
 
Line 2: Line 2:


$(function () {
$(function () {
var myElement = document.getElementById('subscribe');
var myElement = document.getElementById('mw-mywiki-subscribe');
myElement.innerHTML = '<script type="text/javascript" src="//connect.mediawrite.agency/form/generate.js?id=18"></script>';
myElement.innerHTML = '<script type="text/javascript" src="//connect.mediawrite.agency/form/generate.js?id=18"></script>';
}());
}());

Revision as of 08:02, 13 December 2021

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

$(function () {
	var myElement = document.getElementById('mw-mywiki-subscribe');
	myElement.innerHTML = '<script type="text/javascript" src="//connect.mediawrite.agency/form/generate.js?id=18"></script>';
}());