autoremove fontawesome class prefix
This commit is contained in:
parent
a6ab7b83a7
commit
b7bdaef70f
2 changed files with 2 additions and 2 deletions
|
|
@ -1321,7 +1321,7 @@ module.exports.widgets = function(data,parent) {
|
|||
var label = widgetData.label == 'auto'?
|
||||
widgetData.id:
|
||||
typeof widgetData.label == 'string' && widgetData.label.indexOf('icon:')!=-1?
|
||||
icon(widgetData.label.split(':')[1].trim()):
|
||||
icon(widgetData.label.split(':')[1].trim().replace('fa-','')):
|
||||
widgetData.label
|
||||
|
||||
var widgetContainer = $(`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue