mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 22:49:24 +09:00
0e4a111f81
Resolve #7779
2 lines
92 B
TypeScript
2 lines
92 B
TypeScript
export const isDeviceTouch = 'maxTouchPoints' in navigator && navigator.maxTouchPoints > 0;
|