configurable watch node

This commit is contained in:
mschlgl 2024-12-12 15:41:50 +01:00
parent 9bd8ec9f62
commit bc0268481b

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