Merge branch 'inicert' into inicert

This commit is contained in:
수영
2022-01-11 18:04:36 +09:00
committed by GitHub
4 changed files with 11 additions and 20 deletions

View File

@ -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");
}
}