summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/components/ViewTransitions.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/components/ViewTransitions.astro b/packages/astro/components/ViewTransitions.astro
index 65a7af8a4..e1df9efa7 100644
--- a/packages/astro/components/ViewTransitions.astro
+++ b/packages/astro/components/ViewTransitions.astro
@@ -26,7 +26,7 @@ const { fallback = 'animate' } = Astro.props as Props;
return 'animate';
}
- // Prefetching
+ // Prefetching
function maybePrefetch(pathname: string) {
if (document.querySelector(`link[rel=prefetch][href="${pathname}"]`)) return;
// @ts-expect-error: connection might exist
@@ -75,7 +75,7 @@ const { fallback = 'animate' } = Astro.props as Props;
});
});
- ['mouseenter', 'touchstart', 'focus'].forEach((evName) => {
+ ['mouseenter', 'touchstart', 'focus'].forEach((evName) => {
document.addEventListener(
evName,
(ev) => {