diff --git a/script/image-enlarger.js b/script/image-enlarger.js index ec98cba..feea663 100644 --- a/script/image-enlarger.js +++ b/script/image-enlarger.js @@ -31,8 +31,7 @@ enlargeImg.forEach((img) => { main.style.display = "block"; nav.style.display = "block"; header.style.display = "flex"; - footer.style.display = "flex"; - + document.querySelector("footer").style.display = "flex"; }); }); });