location: remove debug prints

also some style corrections
This commit is contained in:
Milan Pässler 2016-02-25 21:20:25 +01:00
parent 273d0d5d23
commit 9f48cb1f3b
3 changed files with 4 additions and 6 deletions

View file

@ -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() {

View file

@ -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
}

View file

@ -275,7 +275,6 @@ define(["map/clientlayer", "map/labelslayer",
}
function contextMenuGotoLocation(e) {
console.log("context menu called at ", e)
router.gotoLocation(e.latlng)
}