mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
e3f72a697e
commit
b3fa866385
@ -123,7 +123,7 @@
|
||||
});
|
||||
|
||||
var deleteButton = $('<a/>',{href:"#",class:"btn btn-mini", style:"margin-left: 5px;"}).appendTo(finalspan);
|
||||
$('<i/>',{class:"icon-remove"}).appendTo(deleteButton);
|
||||
$('<i/>',{class:"fa fa-remove"}).appendTo(deleteButton);
|
||||
|
||||
deleteButton.click(function() {
|
||||
container.css({"background":"#fee"});
|
||||
|
@ -74,11 +74,9 @@ RED.touch.radialMenu = (function() {
|
||||
"text-align": "center",
|
||||
"line-height":"50px"
|
||||
});
|
||||
if (opt.icon) {
|
||||
opt.el.append("i").attr("class","icon "+opt.icon)
|
||||
} else {
|
||||
|
||||
opt.el.html(opt.name);
|
||||
}
|
||||
|
||||
if (opt.disabled) {
|
||||
opt.el.style({"border-color":"#ccc",color:"#ccc"});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user