dont match only part of the node type (#1242)

This commit is contained in:
Cor Bosman 2017-04-22 23:08:09 +02:00 committed by Nick O'Leary
parent b756a8edef
commit 40ad4bdbd8
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ RED.sidebar.info = (function() {
$(table).appendTo(content);
$("<hr/>").appendTo(content);
if (!subflowNode && node.type != "comment") {
var helpText = $("script[data-help-name$='"+node.type+"']").html()||"";
var helpText = $("script[data-help-name='"+node.type+"']").html()||"";
addTargetToExternalLinks($('<div class="node-help"><span class="bidiAware" dir=\"'+RED.text.bidi.resolveBaseTextDir(helpText)+'">'+helpText+'</span></div>').appendTo(content));
}
if (subflowNode) {