Hello,
A bit complicated to replicate this.
I have a partial view loaded with Ajax inside a page. If i load the js inside the partial view the lightbox works perfect, if i load the js in the big page ( cause i dont want to load the js on each partial view ) is not working anymore.
I suspect that loading the html
after the load of the js is the issue.
i only intend to use the lightbox since the images are already displayed in a swiper.
Hello, A bit complicated to replicate this. I have a partial view loaded with Ajax inside a page. If i load the js inside the partial view the lightbox works perfect, if i load the js in the big page ( cause i dont want to load the js on each partial view ) is not working anymore. I suspect that loading the html after the load of the js is the issue. i only intend to use the lightbox since the images are already displayed in a swiper.