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
1 changed files with 1 additions and 1 deletions

View File

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