From 1bb5d482b7954bf0c0938beaba512234509d95c9 Mon Sep 17 00:00:00 2001 From: giomba Date: Mon, 15 Feb 2021 23:45:04 +0100 Subject: [PATCH] fix: rimossi riferimenti assoluti --- lugmap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lugmap.js b/lugmap.js index a4d8ba22b7..317bf4f588 100644 --- a/lugmap.js +++ b/lugmap.js @@ -11,7 +11,7 @@ var MapIcon = L.Icon.extend({ iconSize: [16, 19], popupAnchor: [1, -19], iconAnchor: [8, 19], - iconUrl: '/img/lug-point.png' + iconUrl: 'img/lug-point.png' } }); @@ -81,7 +81,7 @@ function init () { map.setView (new L.LatLng (lat, lon), zoom); map.addLayer (tile); - var f = '/geolug.txt'; + var f = 'geolug.txt'; microAjax (f, function (res) { var feat = JSON.parse (res);