Difference between revisions of "MediaWiki:Common.js"

From Airships Wiki
Jump to: navigation, search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $(function () { var myElement = document.getElementById('splash'); if (splash) { document.getElementById("firstHeading").remove(); } }());")
 
 
Line 2: Line 2:


$(function () {
$(function () {
var myElement = document.getElementById('splash');
if (document.getElementById('splash')) {
if (splash) {
document.getElementById("firstHeading").remove();
document.getElementById("firstHeading").remove();
}
}
}());
}());

Latest revision as of 14:13, 26 April 2022

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

$(function () {
	if (document.getElementById('splash')) {
		document.getElementById("firstHeading").remove();
	}
}());