location: remove debug prints
also some style corrections
This commit is contained in:
parent
273d0d5d23
commit
9f48cb1f3b
@ -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() {
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -275,7 +275,6 @@ define(["map/clientlayer", "map/labelslayer",
|
||||
}
|
||||
|
||||
function contextMenuGotoLocation(e) {
|
||||
console.log("context menu called at ", e)
|
||||
router.gotoLocation(e.latlng)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user