diff --git a/ennstatus/static/js/worldmap.js b/ennstatus/static/js/worldmap.js --- a/ennstatus/static/js/worldmap.js +++ b/ennstatus/static/js/worldmap.js @@ -111,7 +111,7 @@ function draw(topo) { .attr("style", "left:"+(mouse[0]+40)+"px;top:"+mouse[1]+"px") .html(function() { if (d.properties.name in data) { - var text = d.properties.name + "
Total servers: " + data[d.properties.name]['total'] + var text = "" + d.properties.name + "" + "
Total servers: " + data[d.properties.name]['total'] if ('bridge' in data[d.properties.name]) { text = text + "
Bridge servers: " + data[d.properties.name]['bridge'] } @@ -123,7 +123,7 @@ function draw(topo) { } return text } else { - return d.properties.name + return "" + d.properties.name + "" } }) })