File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Swatches/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1224,7 +1224,7 @@ define([
1224
1224
1225
1225
imagesToUpdate = this . _setImageIndex ( imagesToUpdate ) ;
1226
1226
1227
- if ( typeof gallery === undefined ) {
1227
+ if ( typeof gallery == ' undefined' ) {
1228
1228
context . find ( this . options . mediaGallerySelector ) . on ( 'gallery:loaded' , function ( loadedGallery ) {
1229
1229
loadedGallery = context . find ( this . options . mediaGallerySelector ) . data ( 'gallery' ) ;
1230
1230
loadedGallery . updateData ( imagesToUpdate ) ;
@@ -1242,7 +1242,7 @@ define([
1242
1242
} ) ;
1243
1243
}
1244
1244
1245
- if ( typeof gallery === undefined ) {
1245
+ if ( typeof gallery == ' undefined' ) {
1246
1246
context . find ( this . options . mediaGallerySelector ) . on ( 'gallery:loaded' , function ( loadedGallery ) {
1247
1247
loadedGallery = context . find ( this . options . mediaGallerySelector ) . data ( 'gallery' ) ;
1248
1248
loadedGallery . first ( ) ;
You can’t perform that action at this time.
0 commit comments