Fix: showNotification 전역 재선언 에러 수정 (contact.js 파싱 실패 해결)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
68893236+KINDNICK@users.noreply.github.com 2026-03-05 00:22:19 +09:00
parent df73fc236f
commit 25dc7d3bc8

View File

@ -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;