bugfix for distance units

This commit is contained in:
DennisSchiefer 2012-08-28 12:29:22 +01:00
parent 65f53b6563
commit 0d13f1f6d7

View File

@ -100,7 +100,7 @@ initDistanceFormatsSelector: function() {
setDistanceFormat: function(type) {
if( OSRM.G.active_distance_format == type )
return;
OSRM.active_distance_format = type;
OSRM.G.active_distance_format = type;
// change scale control
if(OSRM.G.map) {