Skip to content

Commit 949fd96

Browse files
committed
Merge remote-tracking branch 'origin/MC-19669' into 2.3-develop-pr32
2 parents 94bcbc5 + 85809dc commit 949fd96

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
@@ -754,7 +754,7 @@ define([
754754
$widget.options.jsonConfig.optionPrices
755755
]);
756756

757-
if (checkAdditionalData['update_product_preview_image'] === '1') {
757+
if (parseInt(checkAdditionalData['update_product_preview_image'], 10) === 1) {
758758
$widget._loadMedia();
759759
}
760760

0 commit comments

Comments
 (0)