Skip to content

Commit

Permalink
fix: [MINT-3032] Fix console error from improper JS minification (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuathompsonextend authored Nov 6, 2024
1 parent 108922d commit 4379de8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion view/frontend/web/js/view/cart/minicart-updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ define([
if (qtyElem) {
const itemContainerElem = qtyElem.closest(productItemSelector)
if (itemContainerElem) {
const simpleOfferElemId = `extend-minicart-simple-offer-${cartItem.item_id}`
const simpleOfferElemId =
'extend-minicart-simple-offer-' + cartItem.item_id

let simpleOfferElem = itemContainerElem.querySelector(
`#${simpleOfferElemId}`,
)
Expand Down

0 comments on commit 4379de8

Please sign in to comment.