forcemap: fix clicking on links

This commit is contained in:
Nils Schneider 2015-04-08 01:12:30 +02:00
parent 653bbcd873
commit 03d0c5488f

View file

@ -231,7 +231,7 @@ define(["d3"], function (d3) {
.attr("class", "link")
.on("click", function (d) {
if (!d3.event.defaultPrevented)
router.link(d)()
router.link(d.o)()
})
linkEnter.append("line")