mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
remove extra brace added to library.js in error
This commit is contained in:
parent
708365c4ac
commit
349ebfe4db
@ -38,7 +38,7 @@ RED.library = (function() {
|
|||||||
li.className = "dropdown-submenu pull-left";
|
li.className = "dropdown-submenu pull-left";
|
||||||
a = document.createElement("a");
|
a = document.createElement("a");
|
||||||
a.href="#";
|
a.href="#";
|
||||||
var label = i.replace(/^node-red-contrib-/,"").replace(/^node-red-node-/,"").replace(/-/," ").replace(/_/," "));
|
var label = i.replace(/^node-red-contrib-/,"").replace(/^node-red-node-/,"").replace(/-/," ").replace(/_/," ");
|
||||||
a.innerHTML = label;
|
a.innerHTML = label;
|
||||||
li.appendChild(a);
|
li.appendChild(a);
|
||||||
li.appendChild(buildMenu(data.d[i],root+(root!==""?"/":"")+i));
|
li.appendChild(buildMenu(data.d[i],root+(root!==""?"/":"")+i));
|
||||||
|
Loading…
Reference in New Issue
Block a user