Changeset - 91002a3366f4
[Not reviewed]
Dennis Fink - 9 years ago 2016-03-01 23:16:27
dennis.fink@c3l.lu
Country names in bold
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
ennstatus/static/js/worldmap.js
Show inline comments
 
@@ -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 + "<br>Total servers: " + data[d.properties.name]['total']
 
						var text = "<b>" + d.properties.name + "</b>" + "<br>Total servers: " + data[d.properties.name]['total']
 
						if ('bridge' in data[d.properties.name]) {
 
							text = text + "<br>Bridge servers: " + data[d.properties.name]['bridge']
 
						}
 
@@ -123,7 +123,7 @@ function draw(topo) {
 
						}
 
						return text
 
					} else {
 
						return d.properties.name
 
						return "<b>" + d.properties.name + "</b>"
 
					}
 
				})
 
		})
0 comments (0 inline, 0 general)