Closed jonnythesniper closed 6 years ago
i solved my problem like this
$('body').on('click', '.chocolat-image', function(e) {
e.preventDefault();
$('.chocolat-parent').Chocolat();
});
and for the scroll function
$('.chocolat-parent').removeData('chocolat').Chocolat({
});
hello fellows,
i have the problem that tags generated innerhtml do not open the lightbox.
how can i solve it?
this is my code