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:
commit
329008bf6d
@ -2918,7 +2918,7 @@ RED.view = (function() {
|
|||||||
} else if (drag_line.portType === PORT_TYPE_INPUT) {
|
} else if (drag_line.portType === PORT_TYPE_INPUT) {
|
||||||
src = mouseup_node;
|
src = mouseup_node;
|
||||||
dst = drag_line.node;
|
dst = drag_line.node;
|
||||||
src_port = portIndex;
|
src_port = portIndex || 0;
|
||||||
}
|
}
|
||||||
var link = {source: src, sourcePort:src_port, target: dst};
|
var link = {source: src, sourcePort:src_port, target: dst};
|
||||||
if (drag_line.virtualLink) {
|
if (drag_line.virtualLink) {
|
||||||
|
Loading…
Reference in New Issue
Block a user