diff options
| author | Alon Levy <alon@pobox.com> | 2014-09-23 20:18:28 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-09-23 20:18:28 +0300 |
| commit | 282b05df2d86d6222f1eae92eb160ad4a47f812f (patch) | |
| tree | 2f94088ebc6e6f01148955dce4dc8c3b14999e0a /scripts/rhizicore.js | |
| parent | 2e3173f3cda29c988444aa52d917dcd11edf24e3 (diff) | |
rhizicore: adding nodes that exist is currently common practice, drop verbose logging
Diffstat (limited to 'scripts/rhizicore.js')
| -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, |
