Support » Plugin: Photo Gallery by Ays - Responsive Image Gallery » Error when closing Lightbox

  • Resolved pcorderoq

    (@pcorderoq)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ays-pro

    (@ays-pro)

    Hi @pcorderoq ,

    Thank you for the topic.
    Which version of our plugin do you use?
    We fixed this issue several versions ago.
    Thanks

    Plugin Author ays-pro

    (@ays-pro)

    Hi @pcorderoq ,

    Thank you for your patience.

    I am glad to inform you that we’ve fixed the issue and updated the plugin.
    Could you please update it and try again?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when closing Lightbox’ is closed to new replies.