Explorar o código

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

dzzinstant %!s(int64=9) %!d(string=hai) anos
pai
achega
d170204b31
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/forcegraph.js

+ 1 - 1
lib/forcegraph.js

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