From c423025c5d297f6417c5f7a53f2b818a04e2f74d Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 1 Sep 2022 10:36:55 +0300 Subject: [PATCH] postpone lazyScripts more --- js/dom.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/dom.js b/js/dom.js index 77b19290..7e1c1d22 100644 --- a/js/dom.js +++ b/js/dom.js @@ -481,9 +481,7 @@ prefs.ready.then(() => { })); } } - window.requestIdleCallback(() => { - require(lazyScripts); - }); + setTimeout(() => requestIdleCallback(() => require(lazyScripts))); })(); //#endregion