diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 9bd0800..7d519b6 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -37,6 +37,8 @@ export function isTorBrowser() { } export function isTouchDevice() { + // treat all large screen devices as non-touch devices + if (window.innerWidth > 768) return false if (typeof window === 'undefined' || !window.navigator) return false return 'ontouchstart' in window || navigator.maxTouchPoints > 0 }