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

Remove last remnants of bootstrap icons from core

Closes #376
This commit is contained in:
Nick O'Leary 2014-09-08 14:18:34 +01:00
parent e3f72a697e
commit b3fa866385
2 changed files with 4 additions and 6 deletions

View File

@ -123,7 +123,7 @@
}); });
var deleteButton = $('<a/>',{href:"#",class:"btn btn-mini", style:"margin-left: 5px;"}).appendTo(finalspan); 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() { deleteButton.click(function() {
container.css({"background":"#fee"}); container.css({"background":"#fee"});

View File

@ -74,11 +74,9 @@ RED.touch.radialMenu = (function() {
"text-align": "center", "text-align": "center",
"line-height":"50px" "line-height":"50px"
}); });
if (opt.icon) {
opt.el.append("i").attr("class","icon "+opt.icon)
} else {
opt.el.html(opt.name); opt.el.html(opt.name);
}
if (opt.disabled) { if (opt.disabled) {
opt.el.style({"border-color":"#ccc",color:"#ccc"}); opt.el.style({"border-color":"#ccc",color:"#ccc"});
} }