From f1c2d431a9885633fbf265dcb012a1cdb211c04e Mon Sep 17 00:00:00 2001 From: sLorenzini Date: Thu, 2 May 2013 15:49:29 +0200 Subject: [PATCH] // FO: improve jqzoom product --- themes/default/js/product.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/js/product.js b/themes/default/js/product.js index 02b5f5176..2ea7f296d 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -424,7 +424,7 @@ function displayImage(domAAroundImgThumb, no_animation) { $('#bigpic').attr('src', newSrc).load(function() { if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) - $('#bigpic').attr('alt', domAAroundImgThumb.attr('href')); + $(this).attr('rel', domAAroundImgThumb.attr('href')); }); } $('#views_block li a').removeClass('shown');