mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
5c5de028da
commit
28da2dc38a
@ -208,11 +208,11 @@ RED.palette = (function() {
|
||||
portInput.remove();
|
||||
}
|
||||
|
||||
if (portOutput === 0 && sf.out.length > 0) {
|
||||
if (portOutput.length === 0 && sf.out.length > 0) {
|
||||
var portOut = document.createElement("div");
|
||||
portOut.className = "palette_port palette_port_output";
|
||||
paletteNode.append(portOut);
|
||||
} else if (portOutput !== 0 && sf.out.length === 0) {
|
||||
} else if (portOutput.length !== 0 && sf.out.length === 0) {
|
||||
portOutput.remove();
|
||||
}
|
||||
setLabel(sf.type+":"+sf.id,paletteNode,sf.name);
|
||||
|
Loading…
Reference in New Issue
Block a user