From 25dc7d3bc8163e848802acc781847b8815979e3c Mon Sep 17 00:00:00 2001 From: "68893236+KINDNICK@users.noreply.github.com" <68893236+KINDNICK@users.noreply.github.com> Date: Thu, 5 Mar 2026 00:22:19 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20showNotification=20=EC=A0=84=EC=97=AD=20?= =?UTF-8?q?=EC=9E=AC=EC=84=A0=EC=96=B8=20=EC=97=90=EB=9F=AC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(contact.js=20=ED=8C=8C=EC=8B=B1=20=EC=8B=A4?= =?UTF-8?q?=ED=8C=A8=20=ED=95=B4=EA=B2=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- js/contact.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/contact.js b/js/contact.js index 9e7a44b..ca0ef83 100644 --- a/js/contact.js +++ b/js/contact.js @@ -289,8 +289,10 @@ function formatPhoneNumber(e) { e.target.value = value; } -// common.js의 showNotification 사용 -const showNotification = window.commonUtils?.showNotification || function() {}; +// common.js의 showNotification 참조 (전역 재선언 방지) +if (typeof showNotification === 'undefined') { + var showNotification = window.commonUtils?.showNotification || function() {}; +} // 모달 전역 함수 (onclick에서도 호출 가능) let _modalLastFocus = null;