NHN_KCP 본인인증 모바일에서 새창열기 방식으로 수정

This commit is contained in:
thisgun committed 2022-12-20 17:41:22 +09:00
1 parent 22bfc5e9bb
commit df176c6ad9
8 files changed
+20 -8

No files matched your search

+3 -1
View File
@@ -211,8 +211,10 @@ $ct_cert->mf_clear();
$(function() {
var $opener;
var is_mobile = false;
// iframe에서 세션공유 문제가 있어서 더 이상 iframe 을 사용하지 않습니다.
var use_iframe = false;
if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) { // 스마트폰인 경우
if(use_iframe && ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) {
$opener = window.parent;
is_mobile = true;
} else {