This commit is contained in:
hyunho 2020-12-01 02:10:34 +00:00
parent 438ac6765e
commit 02625f336f
1 changed files with 10 additions and 4 deletions

View File

@ -290,7 +290,7 @@
}
function cancelSnsLink() {
confirmtoggle(true, "SNS 연동해제 하시겠습니까?", "snsLink()");
confirmtoggle(true, "SNS 연동해제 하시겠습니까?", "snsLink()");
}
function snsLink() {
capp("/focommon/SnsLink", { snsid: null, jointype: 0 }, "afterSnsLink");
@ -307,13 +307,19 @@
}
function confirmSns(jointype) {
if (jointype == 1) {
confirmtoggle(true, "구글 아이디로 연동하시겠습니까?", "loginWithGoogle()");
if (confirm("구글 아이디로 연동하시겠습니까?")) {
loginWithGoogle();
}
}
else if (jointype == 2) {
confirmtoggle(true, "네이버 아이디로 연동하시겠습니까?", "loginWithNaver()");
if (confirm("네이버 아이디로 연동하시겠습니까?")) {
loginWithNaver();
}
}
else if (jointype == 3) {
confirmtoggle(true, "카카오 아이디로 연동하시겠습니까?", "loginWithKakao()");
if (confirm("카카오 아이디로 연동하시겠습니까?")) {
loginWithKakao();
}
}
}
var gauth;