Closed ibsenleo closed 9 years ago
Working like it should, don't see undefined anywhere. Care to post a screenshot?
Sorry, i solve it as i could.
i had to change line 51:
return "<div class=\"slick-lightbox-slick-item\"><div class=\"slick-lightbox-slick-item-inner\"><img class=\"slick-lightbox-slick-img\" src=\"" + el.href + "\" />" + caption + "</div></div>";
for this:
return "<div class=\"slick-lightbox-slick-item\"><div class=\"slick-lightbox-slick-item-inner\"><img class=\"slick-lightbox-slick-img\" src=\"" + el.src + "\" />" + caption + "</div></div>";
otherwise, the href property returns undefined for me. Thanks for your answer and sorry for change your code for my porpouse.
Grettings Ibsen.
Says undefined in the image container