Re-execute initMap just in case
This commit is contained in:
parent
b513afbecd
commit
12933e3b48
1 changed files with 4 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue