forcegraph: ignore clicks on vpn links

This commit is contained in:
Nils Schneider 2015-04-22 02:44:07 +02:00
parent f65e89aaca
commit d8c147a323

View File

@ -460,6 +460,8 @@ define(["d3"], function (d3) {
} }
var links = intLinks.filter(function (d) { var links = intLinks.filter(function (d) {
return !d.o.vpn
}).filter(function (d) {
return distanceLink(e, d.source, d.target) < LINE_RADIUS return distanceLink(e, d.source, d.target) < LINE_RADIUS
}) })