summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 91b2c634..26059cc6 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -70,9 +70,7 @@ function myGraph(el) {
// No history recorded - this is a helper for loading from files / constant graphs
id = id.toLowerCase();
var node = findNode(id, null);
- if (node !== undefined) {
- graph.editState(id, null, "temp");
- } else {
+ if (node === undefined) {
nodes.push(makeNewNode({
"id": id,
"name": name,