diff --git a/js/zip.js b/js/zip.js index ebcee80e1..2e6b50946 100644 --- a/js/zip.js +++ b/js/zip.js @@ -3,18 +3,17 @@ $(function() { if(!(g5_is_mobile && is_chrome)) { //모바일 크롬에서 먹통되는 현상이 있음 $("html, body").addClass("daum_juso_body"); } -}); - -var el_id = document.getElementById("daum_juso_wrap"); -new daum.Postcode({ - oncomplete: function(data) { - var address1 = data.address1, - address2 = ""; - if(data.addressType == "R"){ //도로명이면 - address2 = data.address2; - } - put_data2(data.postcode1, data.postcode2, address1, "", address2, data.addressType); - }, - width : "100%", - height : "100%" -}).embed(el_id); \ No newline at end of file + var el_id = document.getElementById("daum_juso_wrap"); + new daum.Postcode({ + oncomplete: function(data) { + var address1 = data.address1, + address2 = ""; + if(data.addressType == "R"){ //도로명이면 + address2 = data.address2; + } + put_data2(data.postcode1, data.postcode2, address1, "", address2, data.addressType); + }, + width : "100%", + height : "100%" + }).embed(el_id); +}); \ No newline at end of file diff --git a/mobile/tail.php b/mobile/tail.php index f5069605e..913f5489d 100644 --- a/mobile/tail.php +++ b/mobile/tail.php @@ -27,7 +27,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 $val) { diff --git a/tail.php b/tail.php index e579db0bc..398a0b3d1 100644 --- a/tail.php +++ b/tail.php @@ -42,7 +42,8 @@ if (G5_IS_MOBILE) { $val) {