I tried a method I saw in closed issues, but it didn't fully work. Can someone help me solve this please?
I tried using the method where you do $.fn.iziModal = iziModal; and it half worked.
The error went from iziModal not being a function, to iziModal not being defined. But everything works if I just use a CDN, so I know my js works. What am I doing wrong?
Where am I supposed to put $.fn.iziModal = iziModal;? I tried putting it in the iziModal.min.js, the top of my custom scripts, inside my jQuery document (like the code above), and where I have all my imports, none of these places seem to work. Yes I am importing the iziModal.min.js and css.
I tried a method I saw in closed issues, but it didn't fully work. Can someone help me solve this please?
I tried using the method where you do
$.fn.iziModal = iziModal;
and it half worked.The error went from iziModal not being a function, to iziModal not being defined. But everything works if I just use a CDN, so I know my js works. What am I doing wrong?
This is my js
Where am I supposed to put
$.fn.iziModal = iziModal;
? I tried putting it in the iziModal.min.js, the top of my custom scripts, inside my jQuery document (like the code above), and where I have all my imports, none of these places seem to work. Yes I am importing the iziModal.min.js and css.Any help would be greatly appreciated thanks!