Skip to content

Commit

Permalink
CLOUDINARY-523 - fix bug when cloudinary mgw set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
arielien committed Sep 15, 2024
1 parent 761125a commit 3e7c748
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions view/frontend/web/js/swatch-renderer-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ define([

return function (SwatchRenderer) {


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

$.widget('mage.SwatchRenderer', SwatchRenderer, {
Expand Down Expand Up @@ -62,8 +61,7 @@ define([
}
}
});

return $.mage.SwatchRenderer;
}
return $.mage.SwatchRenderer;
};
});

0 comments on commit 3e7c748

Please sign in to comment.