replace half space with normal space because some browsers do not support it

This commit is contained in:
Stefan Breunig
2013-02-16 13:43:05 +01:00
parent e1fd13e4af
commit 9cb2722eb2
2 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ window.getRangeText = function(d) {
return ['range',
'<a onclick="window.rangeLinkClick()">'
+ (range > 1000
? Math.round(range/1000) + 'km'
: Math.round(range) + 'm')
? Math.round(range/1000) + ' km'
: Math.round(range) + ' m')
+ '</a>'];
}
@ -73,7 +73,7 @@ window.getEnergyText = function(d) {
window.getAvgResoDistText = function(d) {
var avgDist = Math.round(10*getAvgResoDist(d))/10;
return ['reso dist', avgDist + 'm'];
return ['reso dist', avgDist + ' m'];
}
window.getResonatorDetails = function(d) {