From 5d7b3d1e22757c1b9cc9753120eaba97916de13a Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 29 Oct 2014 00:01:18 +0200 Subject: small move to allow numeric id; not enough --- scripts/rhizicore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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; -- cgit v1.3.1