diff --git a/WebContent/OSRM.Via.js b/WebContent/OSRM.Via.js index ac92ecf3e..9775d3b3d 100644 --- a/WebContent/OSRM.Via.js +++ b/WebContent/OSRM.Via.js @@ -19,7 +19,7 @@ or see http://www.gnu.org/licenses/agpl.txt. // [find correct position for a via marker] // store location of via points returned by server -OSRM.GLOBALS.via_points = null; +OSRM.GLOBALS.via_points = []; OSRM.Via = { diff --git a/WebContent/routing/OSRM.RoutingDescription.js b/WebContent/routing/OSRM.RoutingDescription.js index 19bb3f5c1..b12663a7d 100644 --- a/WebContent/routing/OSRM.RoutingDescription.js +++ b/WebContent/routing/OSRM.RoutingDescription.js @@ -67,7 +67,7 @@ show: function(response) { route_desc += ''; route_desc += '
'; - route_desc += ""; + route_desc += ''; route_desc += ''; route_desc += '
';