From 869b13e9dbf68959b0ba16476ae2fff78558bf09 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Thu, 19 Apr 2012 12:59:31 +0100 Subject: [PATCH] init via_nodes with empty array --- WebContent/OSRM.Via.js | 2 +- WebContent/routing/OSRM.RoutingDescription.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 += '
';