diff --git a/www/events.js b/www/events.js index 7c11138..5902b45 100644 --- a/www/events.js +++ b/www/events.js @@ -47,7 +47,7 @@ function getGeolocation(id, lat, lng) { var city = json.features[0].properties.city; var countryCode = json.features[0].properties.country; geolocationTable[id] = city; - ( countryCode != "Germany" ) ? geolocationTable[id] = geolocationTable[id] + " ("+countryCode+")" : null; + ( countryCode != "Germany" && countryCode != "Deutschland" ) ? geolocationTable[id] = geolocationTable[id] + " ("+countryCode+")" : null; if ( city ) { $("#eventstable a.toggle[eventid="+id+"]").text(geolocationTable[id]); var sort = [[0,1],[1,1],[2,1]]; diff --git a/www/events.js.en b/www/events.js.en index 67858e8..51506cc 100644 --- a/www/events.js.en +++ b/www/events.js.en @@ -47,7 +47,7 @@ function getGeolocation(id, lat, lng) { var city = json.features[0].properties.city; var countryCode = json.features[0].properties.country; geolocationTable[id] = city; - ( countryCode != "Germany" ) ? geolocationTable[id] = geolocationTable[id] + " ("+countryCode+")" : null; + ( countryCode != "Germany" && countryCode != "Deutschland" ) ? geolocationTable[id] = geolocationTable[id] + " ("+countryCode+")" : null; if ( city ) { $("#eventstable a.toggle[eventid="+id+"]").text(geolocationTable[id]); var sort = [[0,1],[1,1],[2,1]];