From 0e9d12c759a8b6773a179e6cb9d189b8c1fc5e19 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Wed, 7 Aug 2024 15:42:56 +0200 Subject: [PATCH] Added jsdoc and preference check --- src/pages/index.astro | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 3690b40..c6da120 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -25,13 +25,13 @@ import Layout from '../layouts/Layout.astro';
-
-
+
+
{ - console.log("proced") +// Add throttled event listener on the body +document.addEventListener('mousemove', throttle((event) => { requestAnimationFrame(updateSpotlights.bind(updateSpotlights, event)) })); -