Difference between revisions of "MediaWiki:Common.js"

From The New NATO Treaty
Tag: Manual revert
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="https://connect.mediawrite.agency/form/generate.js?id=18"></script>';
}());
}());

Revision as of 08:11, 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="https://connect.mediawrite.agency/form/generate.js?id=18"></script>';
}());