This commit is contained in:
hyunho 2020-11-27 04:55:01 +00:00
parent ba608000e2
commit 2506c8eef7
3 changed files with 10 additions and 4 deletions

View File

@ -34,7 +34,9 @@
location.href = "https://www.ynicte.com/Account/Join?jointype=1"; location.href = "https://www.ynicte.com/Account/Join?jointype=1";
} }
function goHome() { function goHome() {
location.href = "https://www.ynicte.com"; if (capResult.code > 0) {
location.href = "https://www.ynicte.com";
}
} }
function goIndex() { function goIndex() {
location.href = "https://www.ynicte.com/Account/Index"; location.href = "https://www.ynicte.com/Account/Index";

View File

@ -44,7 +44,9 @@
location.href = "https://www.ynicte.com/Account/Join?jointype=3"; location.href = "https://www.ynicte.com/Account/Join?jointype=3";
} }
function goHome() { function goHome() {
location.href = "https://www.ynicte.com"; if (capResult.code > 0) {
location.href = "https://www.ynicte.com";
}
} }
function goIndex() { function goIndex() {
location.href = "https://www.ynicte.com/Account/Index"; location.href = "https://www.ynicte.com/Account/Index";

View File

@ -74,8 +74,10 @@
self.close(); self.close();
} }
function goHome() { function goHome() {
opener.location.href = "https://www.ynicte.com"; if (capResult.code > 0) {
self.close(); opener.location.href = "https://www.ynicte.com";
self.close();
}
} }
function goIndex() { function goIndex() {
opener.location.href = "https://www.ynicte.com/Account/Index"; opener.location.href = "https://www.ynicte.com/Account/Index";