Skip to content

Commit

Permalink
chore(the-product): chrome and safari doesnt support a clone from url…
Browse files Browse the repository at this point in the history
…searchparams
  • Loading branch information
matheusgnreis committed Aug 22, 2023
1 parent addbf46 commit 154865c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @ecomplus/storefront-components/src/js/TheProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ export default {
searchParams.set('variation_id', variationId)
window.history.pushState({
pathname,
searchParams
param: searchParams.toString()
}, '', `${pathname}?${searchParams.toString()}`)
this.showVariationPicture(this.selectedVariation)
}
Expand Down

0 comments on commit 154865c

Please sign in to comment.