'; $("#nearbyProperty_map li").remove(); $("#nearbyProperty_map ul").html(html_a); $("#nearbyProperty_map ul").removeAttr('style'); $("#nearbyProperty_map #nearbyProperty>p").remove(); $(".box-map-l").append(''); } if(ckAppent == '1'){ var sk = document.createElement("script"); sk.src = "https://polyfill.io/v3/polyfill.min.js?features=default"; $("body").append(sk); var s = document.createElement("script"); setTimeout(function(){ s.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyB7a8679QfurwZrYW_NTbdK9TFqRplXU3c&callback=initAutocomplete&libraries=places&v=weekly"; s.setAttribute("defer", "defer"); $("body").append(s); }, 300); } $(opjs).attr('data-ckAppent','0'); $('#Modal-google-map').modal('toggle'); setTimeout(function(){ var widthscoll = $('div#Modal-google-map>.modal-lg').width()-10; $('.box-manu-localtioln-map').css('width',widthscoll+'px'); }, 300); } $(window).resize(function() { if($('.box.modal.fade.in').length>0){ var widthscoll = $('div#Modal-google-map>.modal-lg').width()-10; $('.box-manu-localtioln-map').css('width',widthscoll+'px'); } });