Potential fix for #23

This commit is contained in:
Fred Boniface 2022-09-21 21:16:00 +01:00
parent 7ea0664828
commit c03bd7d831

View File

@ -1,8 +1,8 @@
function menuFunction() {
var x = document.getElementByID("menu-hidden");
if x.style.display === "block") {
x.style.display = "none";
var hidden = document.getElementById("menu-hidden");
if hidden.style.display === "block") {
hidden.style.display = "none";
} else {
x.style.display = "block";
hidden.style.display = "block";
}
}