mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
undo a replacement of 'icon' by 'fa fa'
This commit is contained in:
parent
e4be4024f5
commit
ab7de0d0d0
|
@ -12,8 +12,8 @@ chzn_template_func = function (state) {
|
|||
if($(state.element).data('warning'))
|
||||
warning = $(state.element).data('warning')+''; /* make sure it is a string */
|
||||
var html = '<span>';
|
||||
if($(state.element).data('fa fa-before'))
|
||||
html += '<i class="fa fa-'+$(state.element).data('fa fa-before')+'"></i> ';
|
||||
if($(state.element).data('icon-before'))
|
||||
html += '<i class="fa fa-'+$(state.element).data('icon-before')+'"></i> ';
|
||||
html += state.text.replace(/</g, '<')+'';
|
||||
if(subtitle)
|
||||
html += '<br /><i>'+subtitle.replace(/</g, '<')+'</i>';
|
||||
|
|
Loading…
Reference in New Issue
Block a user