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

[help-sidebar] Tidy up some errors

This commit is contained in:
Nick O'Leary 2020-05-12 13:42:01 +01:00
parent ff310f89bd
commit 9f1373945b
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 1 additions and 3 deletions

View File

@ -318,8 +318,6 @@ RED.sidebar.help = (function() {
} else if (node.type !== 'group'){ } else if (node.type !== 'group'){
showHelp(node.type); showHelp(node.type);
} }
} else {
refresh(selection.nodes);
} }
} }
} }

View File

@ -303,7 +303,7 @@
return this.name; return this.name;
} }
var b = this.broker; var b = this.broker;
if (b === "") { b = "undefined"; } if (!b) { b = "undefined"; }
var lab = ""; var lab = "";
lab = (this.clientid?this.clientid+"@":"")+b; lab = (this.clientid?this.clientid+"@":"")+b;
if (b.indexOf("://") === -1){ if (b.indexOf("://") === -1){