Difference between revisions of "Template:Newcastle/navbar2"

Line 127: Line 127:
  
 
function myFunction() {
 
function myFunction() {
     var x = document.getElementById("navbar");
+
     var x = document.getElementByClass("navbar");
 
     if (x.style.display === "none") {
 
     if (x.style.display === "none") {
 
         x.style.display = "block";
 
         x.style.display = "block";

Revision as of 20:38, 16 October 2018