From 119d7ad3ef5a82240b7caaa18947d380d770da1c Mon Sep 17 00:00:00 2001 From: zepp Date: Wed, 18 Dec 2024 21:46:32 -0500 Subject: [PATCH] make sure footer is added back as flex in image-enlarger.js --- script/image-enlarger.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"; }); }); });