Topic: Uncaught ReferenceError: PhotoSwipe is not defined
Hello guys. I have an error when trying to open lightbox image. Console always throws this.
Uncaught ReferenceError: PhotoSwipe is not defined at openPhotoSwipe (mdb.js:25884) at HTMLDivElement.onThumbnailsClick (mdb.js:25793)
// Pass data to PhotoSwipe and initialize it gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, options); gallery.init();Im including my JS files at the end of page. Do you know any solution to make it working?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.10
- Device: PC
- Browser: Chrome
- OS: Win 10
- Provided sample code: No
- Provided link: No