MediaWiki:Common.js: Difference between revisions

From jugglingpatterns
No edit summary
No edit summary
Line 2: Line 2:


$(function () {
$(function () {
var myPlace = document.getElementById('siteswapanimation');
var animationPlace = document.getElementById('siteswapanimation');
siteswap=animationPlace.innerHTML;
if(myPlace.innerHTML == "7531"){alert("yay");}
}());
}());

Revision as of 15:51, 14 November 2023

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

$(function () {
	var animationPlace = document.getElementById('siteswapanimation');
	siteswap=animationPlace.innerHTML;
    
}());