fix a bug in Ox.ListMap

This commit is contained in:
rolux 2011-11-23 16:39:33 +01:00
parent b770bbd83e
commit e17907d7a3

View file

@ -58,7 +58,7 @@ Ox.ListMap = function(options, self) {
format: function(value) { format: function(value) {
return $('<img>') return $('<img>')
.attr({ .attr({
src: Ox.getFlagByGeoname(value, 16) src: Ox.getFlagByGeoname(Ox.getCountryByCode(value).name, 16)
}) })
.css({ .css({
width: '14px', width: '14px',