diff --git a/editor/js/ui/library.js b/editor/js/ui/library.js index a8c75695b..8c29ccae8 100644 --- a/editor/js/ui/library.js +++ b/editor/js/ui/library.js @@ -38,7 +38,7 @@ RED.library = (function() { li.className = "dropdown-submenu pull-left"; a = document.createElement("a"); a.href="#"; - var label = i.replace(/^node-red-contrib-/,"").replace(/^node-red-node-/,"").replace(/-/," ").replace(/_/," "); + var label = i.replace(/^@.*\//,"").replace(/^node-red-contrib-/,"").replace(/^node-red-node-/,"").replace(/-/," ").replace(/_/," "); a.innerHTML = label; li.appendChild(a); li.appendChild(buildMenu(data.d[i],root+(root!==""?"/":"")+i));