From 3dab939f8e03ba4f87bfdc5b92e6aedec55fc6f1 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 18 Aug 2013 12:01:51 +0200 Subject: [PATCH] statistics dialog: use Ox.splitGeoname --- static/js/statisticsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/statisticsDialog.js b/static/js/statisticsDialog.js index b0273fa2b..5b024baad 100644 --- a/static/js/statisticsDialog.js +++ b/static/js/statisticsDialog.js @@ -141,7 +141,7 @@ pandora.ui.statisticsDialog = function() { } }); if (item.location) { - split = item.location.split(', ') + split = Ox.splitGeoname(item.location); if (split.length == 1) { country = split[0]; } else {