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