GX-Bug #43860 » LightboxXTsidFix.patch
src/templates/EyeCandy/javascript/product_info/ButtonProductImagesHandler.js (revision ) | ||
---|---|---|
396 | 396 |
|
397 | 397 |
$('#lightbox_gallery .thumbnail a').each(function() |
398 | 398 |
{ |
399 |
if(t_current_image.search($(this).attr('href')) != -1) |
|
399 |
if(t_current_image.search($(this).attr('href').split('?')[0]) != -1)
|
|
400 | 400 |
{ |
401 | 401 |
if(t_previous_image != '') |
402 | 402 |
{ |
... | ... | |
450 | 450 |
t_updated_image = true; |
451 | 451 |
} |
452 | 452 |
|
453 |
if(t_current_image.search($(this).attr('href')) != -1) |
|
453 |
if(t_current_image.search($(this).attr('href').split('?')[0]) != -1)
|
|
454 | 454 |
{ |
455 | 455 |
t_current_image_reached = true; |
456 | 456 |
} |