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

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

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) {