diff --git a/view/common/block-layout/smartGallery.phtml b/view/common/block-layout/smartGallery.phtml index fc35be8..13d6c38 100644 --- a/view/common/block-layout/smartGallery.phtml +++ b/view/common/block-layout/smartGallery.phtml @@ -63,10 +63,7 @@ jQuery(document).ready(function() { var image = images_= $gallery_id ?>[i] var src_link = '
'; var gallery_image = $('#= $gallery_id ?>_wrap').find('img[src="'+image['media_url']+'"]') - if ( !($(gallery_image).next().attr('src') == image['media_url']) ){ - $(gallery_image).closest('.brick').append(src_link) - console.log(image['media_url']) - } + $(gallery_image).closest('.brick').append(src_link) } });