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);
$('<i/>',{class:"icon-remove"}).appendTo(deleteButton);
$('<i/>',{class:"fa fa-remove"}).appendTo(deleteButton);
deleteButton.click(function() {
container.css({"background":"#fee"});

View File

@ -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);
}
opt.el.html(opt.name);
if (opt.disabled) {
opt.el.style({"border-color":"#ccc",color:"#ccc"});
}