We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2fc80 commit 8542b9bCopy full SHA for 8542b9b
1 file changed
editor/js/ui/view.js
@@ -631,7 +631,8 @@ RED.view = (function() {
631
spliceActive = false;
632
if (moving_set.length === 1) {
633
node = moving_set[0];
634
- spliceActive = node.n._def.inputs > 0 &&
+ spliceActive = node.n.hasOwnProperty("_def") &&
635
+ node.n._def.inputs > 0 &&
636
node.n._def.outputs > 0 &&
637
RED.nodes.filterLinks({ source: node.n }).length === 0 &&
638
RED.nodes.filterLinks({ target: node.n }).length === 0;
@@ -2245,7 +2246,8 @@ RED.view = (function() {
2245
2246
2247
if (new_ms.length === 1) {
2248
node = new_ms[0];
2249
2250
2251
node.n._def.outputs > 0;
2252
}
2253
0 commit comments