diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 7bf279ff5..d55161adc 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -1068,7 +1068,7 @@ RED.editor = (function() { hasNonBlankLabel = false; newValue = new Array(editing_node.outputs); outputLabels.each(function() { - var index = $(this).attr('id').substring(23); // red-ui-editor-node-label-form-output- + var index = $(this).attr('id').substring("red-ui-editor-node-label-form-output-".length); if (outputMap && outputMap.hasOwnProperty(index)) { index = parseInt(outputMap[index]); if (index === -1) {