summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 2402382d..c2ce76ac 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -220,8 +220,8 @@ function myGraph(el) {
set_from_array(new_nodes));
// we allow any number of changed nodes as long as we it is 1 or 2 :)
if (changed_nodes.a_b.length <= 2) {
- set_old_id = set_from_array(changed_nodes.a_b);
- set_new_id = set_from_array(changed_nodes.b_a);
+ set_old_id = set_from_array(changed_nodes.a_b.map(function (f) { return f.toLowerCase(); }));
+ set_new_id = set_from_array(changed_nodes.b_a.map(function (f) { return f.toLowerCase(); }));
} else {
return {graph_same: false};
}