[ci] format

This commit is contained in:
martrapp 2023-09-27 13:33:07 +00:00 committed by astrobot-houston
parent 63bc37f2b6
commit aad756297c

View file

@ -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) => {