From cb29f20f1eab4f353ae305473613f9ea4e5c2e71 Mon Sep 17 00:00:00 2001 From: Gregory Roussac Date: Mon, 29 Apr 2013 23:14:57 +0200 Subject: [PATCH] // remove unused .show() --- themes/default/js/product.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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');