From 03d0c5488f8d7a80960b8af01483ea5b90d84eb7 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Wed, 8 Apr 2015 01:12:30 +0200 Subject: [PATCH] forcemap: fix clicking on links --- lib/forcegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forcegraph.js b/lib/forcegraph.js index 4ba279c..5a8fa3e 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -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")