Fix brackets required to pass building

pull/4450/head
GogoVega 2023-12-02 13:57:34 +01:00
parent 2fc950295c
commit 680bd7915c
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
1 changed files with 3 additions and 1 deletions

View File

@ -241,7 +241,9 @@ RED.editor = (function() {
const typedInput = input.closest("div").find("input[class='red-ui-typedInput']");
const typeField = typedInput.data("noderedTypedInput")?.typeField;
const isTypeField = input.is(typeField);
if (isTypeField) input = typedInput;
if (isTypeField) {
input = typedInput;
}
}
const valid = validateNodeProperty(node, defaults, property, value);
if (((typeof valid) === "string") || !valid) {