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 8882d971e..9c3274441 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 @@ -356,13 +356,13 @@ RED.editor = (function() { function attachPropertyChangeHandler(node,definition,property,prefix) { var input = $("#"+prefix+"-"+property); if (definition !== undefined && "format" in definition[property] && definition[property].format !== "" && input[0].nodeName === "DIV") { - $("#"+prefix+"-"+property).on('change keyup', function(event,) { + $("#"+prefix+"-"+property).on('change keyup', function(event) { if (!$(this).attr("skipValidation")) { validateNodeEditor(node,prefix); } }); } else { - $("#"+prefix+"-"+property).on("change", function(event,skipValidation) { + $("#"+prefix+"-"+property).on("change", function(event) { if (!$(this).attr("skipValidation")) { validateNodeEditor(node,prefix); }