diff --git a/packages/node_modules/@node-red/nodes/core/storage/23-watch.html b/packages/node_modules/@node-red/nodes/core/storage/23-watch.html index 69d3a14d9..946398ad5 100644 --- a/packages/node_modules/@node-red/nodes/core/storage/23-watch.html +++ b/packages/node_modules/@node-red/nodes/core/storage/23-watch.html @@ -67,7 +67,7 @@ // function added to set node input number oneditsave: function() { // if controlled by msg there has to be a input - this.inputs = $("#node-input-filesType")[0].attributes.value.value == "msg"?1:0; + this.inputs = $("#node-input-filesType").typedInput("type") === "msg" ? 1 : 0; return; } });