diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-29 00:01:18 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-29 00:01:18 +0200 |
| commit | 5d7b3d1e22757c1b9cc9753120eaba97916de13a (patch) | |
| tree | 23732c7476520064bc9a08efabb1bea1e2e3a2cb /scripts/rhizicore.js | |
| parent | b60bbc2c0945a729c1c10cde9074b42efe1f3078 (diff) | |
small move to allow numeric id; not enough
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 2 |
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; |
