summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/view/graph_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 6e068891..93e774aa 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -234,7 +234,7 @@ function GraphView(spec) {
}
}
}
- if (!temporary && (nodes.length == 0 || (!relayout && have_position === 0))) {
+ if (!temporary && !relayout && have_position === 0) {
// avoid recursion due to layout triggering sending of new positions to db, resulting in a new diff update
return;
}