Skip to content

Commit ac44d45

Browse files
author
Joan He
committed
Merge remote-tracking branch 'honey/MC-15033-swatches-xss-fotorama-broken' into 2.3.1-qwerty-pr
2 parents 5bd8493 + dfd8d9d commit ac44d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ define([
12251225
var justAnImage = images[0],
12261226
initialImages = this.options.mediaGalleryInitial,
12271227
imagesToUpdate,
1228-
gallery,
1228+
gallery = context.find(this.options.mediaGallerySelector).data('gallery'),
12291229
isInitial;
12301230

12311231
if (isInProductView) {

0 commit comments

Comments
 (0)