diff options
Diffstat (limited to 'scripts')
| -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 4c584506..455c4ab5 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -338,7 +338,7 @@ function myGraph(el) { var findNode = function(id, state) { - //id=id.toLowerCase(); + id = id && id.toLowerCase(); for (var i = 0; i < nodes.length; i++) { if (nodes[i].id === id || nodes[i].state === state) return nodes[i] |
