summaryrefslogtreecommitdiffstats
path: root/src/generic-components/graph/NodeFactory.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic-components/graph/NodeFactory.js')
-rw-r--r--src/generic-components/graph/NodeFactory.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic-components/graph/NodeFactory.js b/src/generic-components/graph/NodeFactory.js
index 66f090e..813706c 100644
--- a/src/generic-components/graph/NodeFactory.js
+++ b/src/generic-components/graph/NodeFactory.js
@@ -113,7 +113,7 @@ class NodeFactory {
for (var i = 0; i < nodeVisualElements.length; i++) {
if (nodeVisualElements[i].type === 'button' && nodeVisualElements[i].name === 'icon_triangle_warning') {
nodeVisualElements.splice(i, 1);
- return;
+ break;
}
}
}