1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure linkType is a valid value (2nd attempt)

This commit is contained in:
Stephen McLaughlin 2022-03-01 16:48:31 +00:00 committed by GitHub
parent 27761ba6f2
commit e85b925f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,7 +306,7 @@
updateVisibility(); updateVisibility();
}); });
if (["static","dynamic"].indexOf(this.linkType) < 0) { if (["static","dynamic"].indexOf(this.linkType) < 0) {
$("#node-input-mode").val('static'); $("#node-input-linkType").val('static');
} }
updateVisibility(); updateVisibility();
onEditPrepare(this,"link in"); onEditPrepare(this,"link in");