Skip to content

Commit

Permalink
add crm-i class to iconpicker starting value to ensure shims are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
ufundo committed Jul 31, 2024
1 parent 31545bb commit ce08c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery/jquery.crmIconPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
var split = val.split(' ');
$button.button('option', {
label: split[0] || ts('None'),
icons: {primary: val ? val : 'fa-'}
icons: {primary: val ? val + ' crm-i' : 'fa-'}
});
$style.toggle(!!split[0]).val(split[1] || '');
}
Expand Down

0 comments on commit ce08c6d

Please sign in to comment.