From 9bd4b772789b11ca085e7e7f052b410903cf2eb0 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Mon, 16 Apr 2012 12:28:16 +0100 Subject: [PATCH] use relative image locations --- WebContent/OSRM.GUI.js | 2 +- WebContent/main.js | 6 +++--- WebContent/routing/OSRM.RoutingDescription.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WebContent/OSRM.GUI.js b/WebContent/OSRM.GUI.js index 6d6389679..f3ff3c1d1 100644 --- a/WebContent/OSRM.GUI.js +++ b/WebContent/OSRM.GUI.js @@ -31,7 +31,7 @@ init: function() { OSRM.GUI.width = document.getElementById("main-wrapper").clientWidth; // init favicon - document.getElementById('favicon').href=OSRM.G.images["favicon"].src; + document.getElementById('favicon').href=OSRM.G.images["favicon"].getAttribute("src"); // init starting source/target document.getElementById('gui-input-source').value = OSRM.DEFAULTS.ONLOAD_SOURCE; diff --git a/WebContent/main.js b/WebContent/main.js index 99ec8530e..92d03d444 100644 --- a/WebContent/main.js +++ b/WebContent/main.js @@ -95,15 +95,15 @@ OSRM.prefetchIcons = function() { for(var i=0; i