From 7041bb5c14c97ee82515a14e8df7912da9f888d4 Mon Sep 17 00:00:00 2001 From: KINDNICK <68893236+KINDNICK@users.noreply.github.com> Date: Sun, 14 Sep 2025 00:55:26 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20:=20=ED=9A=8C=EC=82=AC=20=EC=84=A4?= =?UTF-8?q?=EB=AA=85=20=EB=91=90=EB=B2=88=20=EB=82=98=EC=98=A4=EB=8A=94?= =?UTF-8?q?=EA=B1=B0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/common.js b/js/common.js index 6de5122..919b500 100644 --- a/js/common.js +++ b/js/common.js @@ -36,8 +36,15 @@ async function loadComponents() { const response = await fetch('components/footer.html'); const html = await response.text(); footerPlaceholder.innerHTML = html; + + // 동적 푸터 로드 성공 시 백업 푸터 숨기기 + const backupFooter = document.querySelector('footer[style*="background:#222"]'); + if (backupFooter) { + backupFooter.style.display = 'none'; + } } catch (error) { console.error('Error loading footer:', error); + // 동적 푸터 로드 실패 시 백업 푸터 유지 } } }