mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
afe9367bac
commit
b837f7608c
@ -1209,7 +1209,7 @@ RED.editor = (function() {
|
|||||||
node.l = false;
|
node.l = false;
|
||||||
} else {
|
} else {
|
||||||
// A link node - default state is false
|
// A link node - default state is false
|
||||||
if (node.hasOwnProperty('l')) {
|
if (node.hasOwnProperty('l') && node.l) {
|
||||||
changes.l = node.l
|
changes.l = node.l
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
@ -1219,7 +1219,7 @@ RED.editor = (function() {
|
|||||||
// Checked - show label
|
// Checked - show label
|
||||||
if (!/^link (in|out)$/.test(node.type)) {
|
if (!/^link (in|out)$/.test(node.type)) {
|
||||||
// Not a link node - default state is true
|
// Not a link node - default state is true
|
||||||
if (node.hasOwnProperty('l')) {
|
if (node.hasOwnProperty('l') && !node.l) {
|
||||||
changes.l = node.l
|
changes.l = node.l
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user