diff options
| -rw-r--r-- | scripts/rhizicore.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 670ed7bb..c0f61228 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -49,10 +49,7 @@ function myGraph(el) { var text = id; id = id.toLowerCase(); var node = findNode(id, null); - if (node !== undefined) { - console.log('addNode: node of same id exists: ' + id); - //graph.editState(id, null, "temp"); - } else { + if (node === undefined) { var new_node = makeNewNode({ "id": id, "text": text, |
