Merge branch 'master' of https://git.audio-lab.org/lrullo/soundmap
This commit is contained in:
commit
1db510e96d
@ -97,7 +97,7 @@
|
|||||||
layer.on('click', self.onMarkerClick);
|
layer.on('click', self.onMarkerClick);
|
||||||
}
|
}
|
||||||
}).addTo(this.map);
|
}).addTo(this.map);
|
||||||
this.map.fitBounds(this.markers.getBounds());
|
if (this.markers.getBounds()) this.map.fitBounds(this.markers.getBounds());
|
||||||
|
|
||||||
},
|
},
|
||||||
ajaxFail: function(){
|
ajaxFail: function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user