diff --git a/assets/ts/main.tsx b/assets/ts/main.tsx index 16e06d7..cf49e01 100644 --- a/assets/ts/main.tsx +++ b/assets/ts/main.tsx @@ -38,7 +38,9 @@ const Mobile = lazy(async () => await import('./mobile/layout')) function Main(): JSX.Element { // variables const [ijs] = createResource(getImageJSON) - const isMobile = window.matchMedia('(hover: none)').matches + const isMobile = + window.matchMedia('(hover: none)').matches && + !window.navigator.userAgent.includes('Win') // states const [scrollable, setScollable] = createSignal(true)