diff --git a/sites/all/modules/views_galleriffic/js/jquery.galleriffic.js b/sites/all/modules/views_galleriffic/js/jquery.galleriffic.js index 8b25f8e..28646a0 100644 --- a/sites/all/modules/views_galleriffic/js/jquery.galleriffic.js +++ b/sites/all/modules/views_galleriffic/js/jquery.galleriffic.js @@ -631,13 +631,14 @@ // Construct new hidden span for the image var newSlide = this.$imageContainer - .append('') - .find('span.current').css('opacity', '0'); + .append('') + .find('span.current').css('opacity', '0'); newSlide.find('a') .append(imageData.image) .click(function(e) { - gallery.clickHandler(e, this); + e.preventDefault(); + Lightbox.start(this, false, false, false); }); var newCaption = 0;