mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Skip .info call for subflow IO nodes
This commit is contained in:
parent
f6c6301733
commit
e9f0877da8
@ -106,7 +106,7 @@ RED.sidebar.info = (function() {
|
||||
var helpText = $("script[data-help-name|='"+node.type+"']").html()||"";
|
||||
table += '<div class="node-help">'+helpText+"</div>";
|
||||
|
||||
if (node._def.info) {
|
||||
if (node._def && node._def.info) {
|
||||
var info = node._def.info;
|
||||
table += '<div class="node-help">'+marked(typeof info === "function" ? info.call(node) : info)+'</div>';
|
||||
//table += '<div class="node-help">'+(typeof info === "function" ? info.call(node) : info)+'</div>';
|
||||
|
Loading…
Reference in New Issue
Block a user