From dd95b638e862528668e4cac96f82e5c4c9b78194 Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 20 Aug 2014 16:09:09 +0900 Subject: [PATCH] =?UTF-8?q?daum=20=EB=8F=84=EB=A1=9C=EB=AA=85=20=EC=A3=BC?= =?UTF-8?q?=EC=86=8C=20=EA=B4=80=EB=A0=A8=20zip.js=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/zip.js | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) 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