diff --git a/scripts/scripts.js b/scripts/scripts.js index c877c5ad..1696a5af 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -707,11 +707,11 @@ async function waitForLCP() { async function loadPage(doc) { // eslint-disable-next-line no-use-before-define await loadEager(doc); - // eslint-disable-next-line no-use-before-define - await loadLazy(doc); // eslint-disable-next-line import/no-cycle loadDependencies(); // eslint-disable-next-line no-use-before-define + await loadLazy(doc); + // eslint-disable-next-line no-use-before-define loadDelayed(doc); }