Error when closing Lightbox
-
Hi, when I open an image from the gallery, and then close it with the ‘x’ button that is at the top right, the console shows this error:
lightgallery-all.min.js?ver=3.7.4:4 Uncaught (in promise) TypeError: Document not active
at c.exitFullscreen (lightgallery-all.min.js?ver=3.7.4:4)
at c.destroy (lightgallery-all.min.js?ver=3.7.4:4)
at Function.<anonymous> (lightgallery-all.min.js?ver=3.7.4:4)
at Function.each (jquery-3.4.1.min.js?ver=3.4.1:2)
at b.destroy (lightgallery-all.min.js?ver=3.7.4:4)
at HTMLSpanElement.<anonymous> (lightgallery-all.min.js?ver=3.7.4:4)
at HTMLSpanElement.dispatch (jquery-3.4.1.min.js?ver=3.4.1:2)
at HTMLSpanElement.v.handle (jquery-3.4.1.min.js?ver=3.4.1:2)I saw that the same error happened before in the Light Gallery library, and that it is already fixed: https://github.com/sachinchoolur/lightGallery/issues/849
Even showing this error, Lightbox gets closed and it does not seems that it is affecting some functionality from the gallery, but I would appreciate if you can fix the error.
- The topic ‘Error when closing Lightbox’ is closed to new replies.