I have multiple Galleries on a page with same classes. I added a Slider JavaScript function to it. It works, but if I close the light box (current Slider) and open
JavaScript function