Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstantin-bd committed Jan 21, 2025
2 parents 1928c58 + 487ab57 commit f0f537d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _src-lp/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,12 @@ async function loadPage() {
});
}

// in the drafts folder adobe target is not loaded, so the price logic should be executed
const isPageNotInDraftsFolder = window.location.pathname.indexOf('/drafts/') === -1;
if (!isPageNotInDraftsFolder) {
initializeProductsPriceLogic();
}

addScript('/_src-lp/scripts/vendor/bootstrap/bootstrap.bundle.min.js', {}, 'defer');

eventOnDropdownSlider();
Expand Down

0 comments on commit f0f537d

Please sign in to comment.