통합인증 : 브라우저로 접근한 모바일에서도 정상적으로 작동하게끔 스크립트 수정
This commit is contained in:
@ -128,11 +128,6 @@ function popup_center() {
|
||||
let _width = 400;
|
||||
let _height = 620;
|
||||
var xPos = (document.body.offsetWidth/2) - (_width/2); // 가운데 정렬
|
||||
xPos += window.screenLeft; // 듀얼 모니터일 때
|
||||
if( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) // 모바일일때
|
||||
{
|
||||
return window;
|
||||
}else {
|
||||
xPos += window.screenLeft; // 듀얼 모니터일 때
|
||||
return window.open("", "sa_popup", "width="+_width+", height="+_height+", left="+xPos+", menubar=yes, status=yes, titlebar=yes, resizable=yes");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user