diff --git a/themes/default/js/product.js b/themes/default/js/product.js index f0dff6b54..2ea7f296d 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -423,9 +423,8 @@ function displayImage(domAAroundImgThumb, no_animation) if ($('#bigpic').attr('src') != newSrc) { $('#bigpic').attr('src', newSrc).load(function() { - $(this).show(); - if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) - $(this).attr('rel', domAAroundImgThumb.attr('href')); + if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) + $(this).attr('rel', domAAroundImgThumb.attr('href')); }); } $('#views_block li a').removeClass('shown');