Skip to content

Commit

Permalink
no delay
Browse files Browse the repository at this point in the history
  • Loading branch information
shsteimer committed Jan 28, 2025
1 parent eeb51cc commit 006a721
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ async function loadLazy(doc) {
* without impacting the user experience.
*/
function loadDelayed() {
// scheduleTask(async () => import('./delayed.js'), { priority: 'background', delay: 1000 });
import('./delayed.js');
scheduleTask(async () => import('./delayed.js'), { priority: 'background' });
// load anything that can be postponed to the latest here
}

Expand Down

0 comments on commit 006a721

Please sign in to comment.