configurable watch node

pull/4986/head
mschlgl 2024-12-12 15:41:50 +01:00
parent 9bd8ec9f62
commit bc0268481b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
});