diff --git a/head.sub.php b/head.sub.php index 2c30f6ddc..c3ba28b6a 100644 --- a/head.sub.php +++ b/head.sub.php @@ -43,7 +43,7 @@ header("Pragma: no-cache"); // HTTP/1.0 '.PHP_EOL; + echo ''.PHP_EOL; echo ''.PHP_EOL; echo ''.PHP_EOL; } else { diff --git a/js/common.js b/js/common.js index 93f8e76cb..76286d628 100644 --- a/js/common.js +++ b/js/common.js @@ -373,6 +373,10 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j return false; } + // 핀치 줌 현상 제거 + var vContent = "width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10"; + $("#meta_viewport").attr("content", vContent + ",user-scalable=no"); + var zip_case = 1; //0이면 레이어, 1이면 페이지에 끼워 넣기, 2이면 새창 var complete_fn = function(data){ @@ -418,6 +422,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j } setTimeout(function(){ + $("#meta_viewport").attr("content", vContent); of[frm_addr2].focus(); } , 100); }; @@ -435,6 +440,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j jQuery('form[name="'+frm_name+'"]').find('input[name="'+frm_addr1+'"]').before(element_wrap); jQuery("#"+daum_pape_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){ e.preventDefault(); + $("#meta_viewport").attr("content", vContent); jQuery(this).parent().hide(); }); } @@ -478,6 +484,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j document.body.appendChild(element_layer); jQuery("#"+rayer_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){ e.preventDefault(); + $("#meta_viewport").attr("content", vContent); jQuery(this).parent().hide(); }); } diff --git a/theme/basic/head.sub.php b/theme/basic/head.sub.php index 1415255ac..15f89cc3c 100644 --- a/theme/basic/head.sub.php +++ b/theme/basic/head.sub.php @@ -37,7 +37,7 @@ header("Pragma: no-cache"); // HTTP/1.0 '.PHP_EOL; + echo ''.PHP_EOL; echo ''.PHP_EOL; echo ''.PHP_EOL; } else {