diff --git a/docroot/last/index.html b/docroot/last/index.html index a625fff..928ddfa 100644 --- a/docroot/last/index.html +++ b/docroot/last/index.html @@ -53,7 +53,7 @@ script.src = 'https://maps.googleapis.com/maps/api/js?v=3' + '&key=' + apiKey +'&callback=initialize_googlemaps'; } else { - $("head").append(""); + $("head").append(""); // Dynamic script loading from http://stackoverflow.com/a/8578840 (function(d, s, id){ @@ -63,7 +63,7 @@ js.onload = function(){ initialize_leaflet(); }; - js.src = "/static/leaflet/leaflet.js"; + js.src = "../static/leaflet/leaflet.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'leaflet')); } diff --git a/docroot/map/index.html b/docroot/map/index.html index 52425cc..7610d04 100644 --- a/docroot/map/index.html +++ b/docroot/map/index.html @@ -36,7 +36,7 @@ script.src = 'https://maps.googleapis.com/maps/api/js?v=3' + '&key=' + apiKey +'&callback=initialize_googlemaps'; } else { - $("head").append(""); + $("head").append(""); // Dynamic script loading from http://stackoverflow.com/a/8578840 (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; @@ -45,7 +45,7 @@ js.onload = function(){ initialize_leaflet(); }; - js.src = "/static/leaflet/leaflet.js"; + js.src = "../static/leaflet/leaflet.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'leaflet')); }