1
0
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:
Nick O'Leary 2015-01-30 09:52:34 +00:00
parent f6c6301733
commit e9f0877da8

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