1
0
Fork 0
forked from 0x2620/oxjs

minor changes

This commit is contained in:
rolux 2012-04-04 00:37:42 +02:00
commit 997b704f8b
2 changed files with 1 additions and 1 deletions

View file

@ -428,6 +428,7 @@ Ox.Map = function(options, self) {
.addClass('OxPlaceControl OxPlaceFlag')
.bindEvent({
anyclick: function() {
// FIXME: doesn't work for 'Georgia', use Ox.Geo data!
var country = this.data('country');
country && getPlaceByName(country, function(place) {
place && self.map.fitBounds(place.bounds);