summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-29 00:01:18 +0200
committerAlon Levy <alon@pobox.com>2014-10-29 00:01:18 +0200
commit5d7b3d1e22757c1b9cc9753120eaba97916de13a (patch)
tree23732c7476520064bc9a08efabb1bea1e2e3a2cb
parentb60bbc2c0945a729c1c10cde9074b42efe1f3078 (diff)
small move to allow numeric id; not enough
-rw-r--r--scripts/rhizicore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 09dc3526..ee880df0 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -48,7 +48,7 @@ function myGraph(el) {
this.addNodeNoHistory = function(spec) {
// No history recorded - this is a helper for loading from files / constant graphs
- var id = spec.id.toLowerCase();
+ var id = spec.id.toString().toLowerCase();
var node = findNode(id, null);
var new_node = undefined;