From d8c147a3230a1086ebae9bcd493afc853bb4ea2d Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Wed, 22 Apr 2015 02:44:07 +0200 Subject: [PATCH] forcegraph: ignore clicks on vpn links --- lib/forcegraph.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/forcegraph.js b/lib/forcegraph.js index 79442d8..b2b30eb 100644 --- a/lib/forcegraph.js +++ b/lib/forcegraph.js @@ -460,6 +460,8 @@ define(["d3"], function (d3) { } var links = intLinks.filter(function (d) { + return !d.o.vpn + }).filter(function (d) { return distanceLink(e, d.source, d.target) < LINE_RADIUS })