Skip .info call for subflow IO nodes

This commit is contained in:
Nick O'Leary 2015-01-30 09:52:34 +00:00
parent f6c6301733
commit e9f0877da8
1 changed files with 1 additions and 1 deletions

View File

@ -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>';