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() switch2plain()
return false return false
} }
a1.href = config.siteURL a1.href = "#"
var a2 = document.createElement("a") var a2 = document.createElement("a")
a2.textContent = "uci" a2.textContent = "uci"
a2.onclick = function() { a2.onclick = function() {

View file

@ -42,7 +42,6 @@ define(["infobox/link", "infobox/node", "infobox/location"], function (Link, Nod
} }
self.gotoLocation = function (d) { self.gotoLocation = function (d) {
console.log("goto location called with ", d)
create() create()
new Location(config, el, router, d) new Location(config, el, router, d)
} }

View file

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