summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2016-03-14 19:18:26 +0100
committerSimon Rettberg2016-03-14 19:18:26 +0100
commit7d2a8f10999d9fc66b95e79ef1ea8d25ec42328a (patch)
tree8ba62a18a5ba1f278561955df345642d50bb650b
parentRemodeled functions to use new server data. (diff)
downloaddnbd3-status-7d2a8f10999d9fc66b95e79ef1ea8d25ec42328a.tar.gz
dnbd3-status-7d2a8f10999d9fc66b95e79ef1ea8d25ec42328a.tar.xz
dnbd3-status-7d2a8f10999d9fc66b95e79ef1ea8d25ec42328a.zip
Fix reference to nonexistent distance property of node
-rw-r--r--static/status-dnbd3.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/status-dnbd3.html b/static/status-dnbd3.html
index 263d621..86bfc4e 100644
--- a/static/status-dnbd3.html
+++ b/static/status-dnbd3.html
@@ -238,7 +238,7 @@ function myGraph(el) {
// Force of center gravitation
.gravity(.12)
// Distance of the links
- .distance(function(bla) { return bla.source.distance + bla.target.distance; })
+ .distance(function(bla) { return 4; })
// Strength of the links
.linkStrength(0.3)
// Force with which the links "pull"