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