From b179ce77a8f72eb9aadc4e21b685df3507fc2a7b Mon Sep 17 00:00:00 2001 From: bosco-ensemble Date: Tue, 9 Apr 2024 09:03:04 -0700 Subject: [PATCH] TDW-2277 minor code fix --- scripts/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scripts.js b/scripts/scripts.js index 963aef33..00eceab9 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -1070,8 +1070,8 @@ async function loadLazy(doc) { doc.querySelectorAll('div:not([class]):not([id]):empty').forEach((empty) => empty.remove()); - // eslint-disable-next-line no-use-before-define window.setTimeout(async () => { + // eslint-disable-next-line no-use-before-define await loadAds(doc); }, 1000); }