statistics dialog: use Ox.splitGeoname

This commit is contained in:
rolux 2013-08-18 12:01:51 +02:00
parent 58081e1f16
commit 3dab939f8e

View file

@ -141,7 +141,7 @@ pandora.ui.statisticsDialog = function() {
} }
}); });
if (item.location) { if (item.location) {
split = item.location.split(', ') split = Ox.splitGeoname(item.location);
if (split.length == 1) { if (split.length == 1) {
country = split[0]; country = split[0];
} else { } else {