Fix comparison: if (d.clients === 0) return does nothing
This commit is contained in:
parent
2427a19f39
commit
d170204b31
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue