From 5fc797f862f98480e5936366cc7e45307de0ee92 Mon Sep 17 00:00:00 2001 From: bosco-ensemble Date: Wed, 17 Apr 2024 12:43:53 -0700 Subject: [PATCH] TDW-2409 lint fix --- blocks/marketing/marketing.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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, ]); } });