Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ltiseanu committed Nov 19, 2024
1 parent 98664a1 commit 859c6f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _src/blocks/exit-popup/exit-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export default async function decorate(block) {
if (buyBtnEl) {
buyBtnEl.textContent = buyBtnEl.textContent.replace('50%', `${percentPrice}%`);
buyBtnEl.setAttribute('href', await variation.getStoreUrl());
buyBtnEl.setAttribute("data-product", alias);
buyBtnEl.setAttribute("data-buy-price", newPrice);
buyBtnEl.setAttribute("data-old-price", oldPrice);
buyBtnEl.setAttribute("data-currency", productCurrency);
buyBtnEl.setAttribute("data-region", productRegionId);
buyBtnEl.setAttribute("data-variation", `${devices}u-${years}y`);
buyBtnEl.setAttribute('data-product', alias);
buyBtnEl.setAttribute('data-buy-price', newPrice);
buyBtnEl.setAttribute('data-old-price', oldPrice);
buyBtnEl.setAttribute('data-currency', productCurrency);
buyBtnEl.setAttribute('data-region', productRegionId);
buyBtnEl.setAttribute('data-variation', `${devices}u-${years}y`);
}
}

Expand Down

0 comments on commit 859c6f2

Please sign in to comment.