From 133dc38553dcc72a8171f6ed8a6e478afb85a44a Mon Sep 17 00:00:00 2001 From: Felipe Simoes Date: Tue, 2 Jan 2024 20:02:38 +0100 Subject: [PATCH] Documentation and resoning --- scripts/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init.js b/scripts/init.js index 21d69862..d5f1c50f 100644 --- a/scripts/init.js +++ b/scripts/init.js @@ -62,7 +62,7 @@ export async function init(node = document) { ]); setTimeout(() => { Promise.all( - ...rest.map(({ name, el }) => setTimeout(() => start({ name, el }))), + rest.map(({ name, el }) => setTimeout(() => start({ name, el }))), ); }); // reload on breakpoint change