jQuery.Deferred exception: $(…).everlightbox is not a function
-
The module is working, but yet showing an error in the console when the page is loaded. This error is produced because the $(“.everlightbox-trigger”).everlightbox is used before the library is loaded in footer.
I see 3 options:
1. Move the library to be loaded at the header
2. Apply the code only after the page is fully loaded
3. Move the javascript code generated in class-everlightbox-public.php to the end of the page instead to the footer
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘jQuery.Deferred exception: $(…).everlightbox is not a function’ is closed to new replies.