diff --git a/editor/js/ui/palette.js b/editor/js/ui/palette.js index f17889ded..5ddba95b7 100644 --- a/editor/js/ui/palette.js +++ b/editor/js/ui/palette.js @@ -101,7 +101,7 @@ RED.palette = (function() { if (label != type) { l = "
"+label+"
"+type+"
"+RED._("palette.noInfo")+"
").trim()) + popOverContent = $(l+(info?info:$("script[data-help-name$='"+type+"']").html()||""+RED._("palette.noInfo")+"
").trim()) .filter(function(n) { return (this.nodeType == 1 && this.nodeName == "P") || (this.nodeType == 3 && this.textContent.trim().length > 0) }).slice(0,2); @@ -210,7 +210,7 @@ RED.palette = (function() { if (nt.indexOf("subflow:") === 0) { helpText = marked(RED.nodes.subflow(nt.substring(8)).info||""); } else { - helpText = $("script[data-help-name|='"+d.type+"']").html()||""; + helpText = $("script[data-help-name$='"+d.type+"']").html()||""; } var help = '