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