Skip to content

Commit 3e7c748

Browse files
committed
CLOUDINARY-523 - fix bug when cloudinary mgw set to false
1 parent 761125a commit 3e7c748

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

view/frontend/web/js/swatch-renderer-mixin.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ define([
66

77
return function (SwatchRenderer) {
88

9-
109
if ($('.cloudinary-product-gallery').length > 0) {
1110

1211
$.widget('mage.SwatchRenderer', SwatchRenderer, {
@@ -62,8 +61,7 @@ define([
6261
}
6362
}
6463
});
65-
66-
return $.mage.SwatchRenderer;
6764
}
65+
return $.mage.SwatchRenderer;
6866
};
6967
});

0 commit comments

Comments
 (0)