Difference between revisions of "MediaWiki:Common.js"

From The New NATO Treaty
Tag: Reverted
Line 3: Line 3:
$(function () {
$(function () {
var myElement = document.getElementById('Subscribe');
var myElement = document.getElementById('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:08, 13 December 2021

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

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