Magnific-Popup + Slick Slider is correctly implemented?

In General, there https://jsfiddle.net/ejk0grrg/ did everything I need. But I think too much happened.
The essence of such buttons in the slide is assigned a slide number that would pop-up need opened slide, find all the data slides, the Baha'is of them in json and build a pop-up according to this slider. It can is possible somehow easier to do all this?
June 10th 19 at 14:39
0 answer

Find more questions by tags FrontendSlickjQuery