dont waited for loaded, check window.google

This commit is contained in:
j 2014-04-11 19:52:38 +00:00
parent 7bb3d5d185
commit 0de8f278da

View file

@ -714,7 +714,7 @@ Ox.Map = function(options, self) {
}
function getMapBounds(callback) {
if (!self.loaded) {
if (!window.google) {
setTimeout(function() {
getMapBounds(callback);
}, 100);