daum 도로명 주소 관련 zip.js 수정

This commit is contained in:
thisgun
2014-08-20 16:09:09 +09:00
parent cb6fe2d32c
commit dd95b638e8

View File

@ -3,10 +3,8 @@ $(function() {
if(!(g5_is_mobile && is_chrome)) { //모바일 크롬에서 먹통되는 현상이 있음 if(!(g5_is_mobile && is_chrome)) { //모바일 크롬에서 먹통되는 현상이 있음
$("html, body").addClass("daum_juso_body"); $("html, body").addClass("daum_juso_body");
} }
}); var el_id = document.getElementById("daum_juso_wrap");
new daum.Postcode({
var el_id = document.getElementById("daum_juso_wrap");
new daum.Postcode({
oncomplete: function(data) { oncomplete: function(data) {
var address1 = data.address1, var address1 = data.address1,
address2 = ""; address2 = "";
@ -17,4 +15,5 @@ new daum.Postcode({
}, },
width : "100%", width : "100%",
height : "100%" height : "100%"
}).embed(el_id); }).embed(el_id);
});