This website requires JavaScript.
Explore
Help
Sign In
mirror
/
MisskeyIO
Watch
1
Star
0
Fork
0
You've already forked MisskeyIO
mirror of
https://github.com/MisskeyIO/misskey
synced
2024-12-24 19:48:17 +09:00
Code
f38b6a1806
MisskeyIO
/
packages
/
client
/
src
/
scripts
/
is-device-touch.ts
2 lines
92 B
TypeScript
Raw
Normal View
History
Unescape
Escape
feat(client): 投稿フォームのボタンの説明を表示するように (#6408) * Add title attr with buttons on the post form * fix * tooltip * missing ; * remove title attr * fix bug * Update reactions-viewer.details.vue * help wip * ok! * i18n Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-06-03 13:30:17 +09:00
export
const
isDeviceTouch
=
'maxTouchPoints'
in
navigator
&&
navigator
.
maxTouchPoints
>
0
;
Copy Permalink