diff --git a/lib/infobox/location.js b/lib/infobox/location.js index 1080f44..c61d23d 100644 --- a/lib/infobox/location.js +++ b/lib/infobox/location.js @@ -43,7 +43,7 @@ define(function () { switch2plain() return false } - a1.href = config.siteURL + a1.href = "#" var a2 = document.createElement("a") a2.textContent = "uci" a2.onclick = function() { diff --git a/lib/infobox/main.js b/lib/infobox/main.js index 70b6a6e..deebc03 100644 --- a/lib/infobox/main.js +++ b/lib/infobox/main.js @@ -42,10 +42,9 @@ define(["infobox/link", "infobox/node", "infobox/location"], function (Link, Nod } self.gotoLocation = function (d) { - console.log("goto location called with ", d) - create() - new Location(config, el, router, d) - } + create() + new Location(config, el, router, d) + } return self } diff --git a/lib/map.js b/lib/map.js index d6bda4a..712839e 100644 --- a/lib/map.js +++ b/lib/map.js @@ -275,7 +275,6 @@ define(["map/clientlayer", "map/labelslayer", } function contextMenuGotoLocation(e) { - console.log("context menu called at ", e) router.gotoLocation(e.latlng) }