-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: $(...).lightGallery is not a function #452
Comments
Make sure that you have included lightgallery.js in your document. You can refer dynamic mode demo here |
I already did and directly before it!! |
this is the code |
Wooooooooooo Haaaaaa I finally solved it, and the problem was maybe with local version I have!! |
I am using the dynamic mode through the anchor tag and I get this error in the console:
TypeError: $(...).lightGallery is not a function
<anonymous> gallery.js:2
m.event.dispatch() jquery.min.js:3
m.event.add/r.handle() jquery.min.js:3
please bear in mind I am not a pro with JavaScript!!
The text was updated successfully, but these errors were encountered: