Re-execute initMap just in case

This commit is contained in:
Markus Ankenbrand 2017-02-20 23:39:07 +01:00
parent b513afbecd
commit 12933e3b48

View file

@ -9,6 +9,10 @@ jQuery('document').ready(function(){
opt.appendChild(optTxt);
document.getElementById('travelers-select').appendChild(opt);
}
if(typeof google !== 'undefined'){
// reinit map in case google maps loaded before this script did
initMap();
}
});
var markers = [];
function initMap() {