@wikala/spmkt 2.29.3 → 2.29.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -265,10 +265,11 @@ export default {
|
|
|
265
265
|
|
|
266
266
|
updateDiscountInfo() {
|
|
267
267
|
let discountInfoContainer = document.querySelector(this.discountInfoSelector)
|
|
268
|
-
let discountMessageContainer = discountInfoContainer.querySelector('.discount-message')
|
|
269
268
|
if(!discountInfoContainer) {
|
|
270
269
|
return
|
|
271
270
|
}
|
|
271
|
+
let discountMessageContainer = discountInfoContainer.querySelector('.discount-message')
|
|
272
|
+
|
|
272
273
|
discountInfoContainer.classList.add('is-hidden')
|
|
273
274
|
discountMessageContainer.textContent = ''
|
|
274
275
|
|