fixed bug with dragging via markers while an alternative is active

This commit is contained in:
DennisSchiefer 2012-07-05 14:25:42 +01:00
parent d1bc05fcae
commit f27e05564d

View File

@ -57,7 +57,7 @@ timeoutRoute_Reversed: function() {
showRoute: function(response, parameters) {
if(!response)
return;
if( parameters.keepAlternative == false )
if( parameters.keepAlternative != true )
OSRM.G.active_alternative = 0;
OSRM.G.response = response; // needed for printing & history routes!