mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-13 13:45:16 +09:00
4 lines
102 B
JavaScript
4 lines
102 B
JavaScript
export function isTouchDevice() {
|
|
return "ontouchstart" in window && navigator.maxTouchPoints > 0
|
|
}
|