Please sign in to edit, using the button at the upper right corner of the page.
If you would like your name changed, contact Mg27713.


Difference between revisions of "MediaWiki:Common.js"

From Gunn Wiki
Jump to navigation Jump to search
m (No need for load listener?)
(Commented out)
Line 2: Line 2:
  
 
//addEventListener("load", function() {
 
//addEventListener("load", function() {
var title = document.getElementById("firstHeading");
+
//var title = document.getElementById("firstHeading");
if (title.innerText === "Main Page")
+
//if (title.innerText === "Main Page")
    title.style.display = "none";
+
//    title.style.display = "none";
 
//});
 
//});

Revision as of 04:45, 29 March 2021

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

//addEventListener("load", function() {
//var title = document.getElementById("firstHeading");
//if (title.innerText === "Main Page")
//    title.style.display = "none";
//});