회원정보 수정 휴대폰 번호 오류 수정

This commit is contained in:
Rinjae
2025-12-10 20:17:19 +09:00
parent 864a3178e4
commit e377c286b3
2 changed files with 2 additions and 2 deletions
@@ -94,7 +94,7 @@
// 휴대폰 번호 변경 체크
if (isNewPhoneVisible) {
if (window.isAuthVerified) {
const prefix = document.querySelector('#phoneMobile .select_selected').textContent;
const prefix = $('#phoneMobile').val();
const middle = document.getElementById('newMobileMiddle').value;
const last = document.getElementById('newMobileLast').value;
const newMobileNumber = `${prefix}-${middle}-${last}`;
@@ -110,7 +110,7 @@
// 휴대폰 번호 변경 체크
if (isNewPhoneVisible) {
if (window.isAuthVerified) {
const prefix = document.querySelector('#phoneMobile .select_selected').value;
const prefix = $('#phoneMobile').val();
const middle = document.getElementById('newMobileMiddle').value;
const last = document.getElementById('newMobileLast').value;
const newMobileNumber = `${prefix}-${middle}-${last}`;