prevent conversion of circular structure

This commit is contained in:
Hiroyasu Nishiyama 2020-06-10 19:56:16 +09:00
parent 7be824640c
commit 152e695f4c
1 changed files with 1 additions and 1 deletions

View File

@ -2461,7 +2461,7 @@ RED.editor = (function() {
changes[d] = oldValues[d];
changed = true;
}
} else {
} else if (d !== "nodes") {
if (JSON.stringify(oldValues[d]) !== JSON.stringify(editing_node[d])) {
changes[d] = oldValues[d];
changed = true;