diff --git a/blocks/marketing/marketing.js b/blocks/marketing/marketing.js index 1ecd2f2..737922f 100644 --- a/blocks/marketing/marketing.js +++ b/blocks/marketing/marketing.js @@ -81,17 +81,19 @@ export default async function decorate(block) { document.addEventListener('scroll', checkBottomAdDisplay); } } else { - window.tude.setFeatureFlags({injectAds: false}); + window.tude.setFeatureFlags({ injectAds: false }); const adTest = new URLSearchParams(window.location.search).get('ad_test'); const adMapping = { divId: slot, baseDivId: slot, - } - if (adTest) adMapping.targeting = { - ad_test: adTest, + }; + if (adTest) { + adMapping.targeting = { + ad_test: adTest, + }; } window.tude.refreshAdsViaDivMappings([ - adMapping + adMapping, ]); } });