// Expose the defaults so that users can override them if they want to
// change line 261, changing 'fa' to 'fa-regular' for compatibility with font awesome 6.5.1 (february 21st, 2024
$.fn.awesomeCursor.defaults = {
color: '#000000',
size: 18,
hotspot: [0, 0],
flip: '',
rotate: 0,
outline: null,
font: {
family: 'FontAwesome',
cssClass: 'fa-regular fa-%s' // change here !
}
};
Made the change to support FA 6.5.1
// Expose the defaults so that users can override them if they want to // change line 261, changing 'fa' to 'fa-regular' for compatibility with font awesome 6.5.1 (february 21st, 2024 $.fn.awesomeCursor.defaults = { color: '#000000', size: 18, hotspot: [0, 0], flip: '', rotate: 0, outline: null, font: { family: 'FontAwesome', cssClass: 'fa-regular fa-%s' // change here ! } };