Inline touch check thats only used once

Not worth loading an entire file for this.
This commit is contained in:
David Heinemeier Hansson
2025-04-20 16:21:08 +02:00
parent 883a225946
commit d3fa62d4c2
2 changed files with 2 additions and 5 deletions
@@ -1,3 +0,0 @@
export function isTouchDevice() {
return "ontouchstart" in window && navigator.maxTouchPoints > 0
}