Skip to content

Commit dfd8d9d

Browse files
committed
MC-15033: Configurable product gallery does not prepend images with multiple attributes
- fix fotorama selector
1 parent 4efed2d commit dfd8d9d

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)