Fix comparison: if (d.clients === 0) return does nothing

This commit is contained in:
dzzinstant 2015-06-26 11:33:39 +02:00 committed by Nils Schneider
parent 2427a19f39
commit d170204b31

View File

@ -285,7 +285,7 @@ define(["d3"], function (d3) {
ctx.beginPath() ctx.beginPath()
nodes.filter(visibleNodes).forEach(function (d) { nodes.filter(visibleNodes).forEach(function (d) {
var clients = d.o.node.statistics.clients var clients = d.o.node.statistics.clients
if (d.clients === 0) if (clients === 0)
return return
var distance = 16 var distance = 16