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

Merge pull request #3591 from Steve-Mcl/fix-back-link-to-junc

Fix junction: when wiring from a regular nodes INPUT, backwards to a junction
This commit is contained in:
Nick O'Leary 2022-05-05 10:27:48 +01:00 committed by GitHub
commit 329008bf6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2918,7 +2918,7 @@ RED.view = (function() {
} else if (drag_line.portType === PORT_TYPE_INPUT) {
src = mouseup_node;
dst = drag_line.node;
src_port = portIndex;
src_port = portIndex || 0;
}
var link = {source: src, sourcePort:src_port, target: dst};
if (drag_line.virtualLink) {