[-] FO: fixed bug: Solved a javascript problem on the new 1.5.4.1 with the full image on product page - PSCFV-8967

This commit is contained in:
sLorenzini
2013-05-02 15:06:57 +02:00
parent 77b8e106f7
commit e158ea1227
+1 -1
View File
@@ -424,7 +424,7 @@ function displayImage(domAAroundImgThumb, no_animation)
{ {
$('#bigpic').attr('src', newSrc).load(function() { $('#bigpic').attr('src', newSrc).load(function() {
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
$(this).attr('rel', domAAroundImgThumb.attr('href')); $('#bigpic').attr('alt', domAAroundImgThumb.attr('href'));
}); });
} }
$('#views_block li a').removeClass('shown'); $('#views_block li a').removeClass('shown');