Skip to content

Commit

Permalink
Add changes back in the infinite requests occur regardless of this ch…
Browse files Browse the repository at this point in the history
…ange.
  • Loading branch information
codecodeio committed May 20, 2024
1 parent 6a5c943 commit 8f64b11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions best-cigars-guide/scripts/delayed.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,10 @@ function loadAccessibe() {
function loadTrueVault() {
window.polarisOptions = {
GoogleAnalyticsTrackingId: 'G-JNTYD06WGL',
enableConsentManager: true,
privacyCenterId: 'OTNJF7CVF',
};

const script = document.createElement('script');
script.src = 'https://polaris.truevaultcdn.com/static/polaris.js';
script.src = 'https://polaris.truevaultcdn.com/static/pc/OTNJF7CVF/polaris.js';
script.onload = () => {
// DOMContentLoaded event is required to initialise polaris
window.document.dispatchEvent(new Event('DOMContentLoaded'));
Expand Down

0 comments on commit 8f64b11

Please sign in to comment.