forcemap: fix clicking on links
This commit is contained in:
parent
653bbcd873
commit
03d0c5488f
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue