This website requires JavaScript.
Explore
Register
Sign in
OpenSource
/
Sharkey
Watch
1
Star
0
Fork
You've already forked Sharkey
0
mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced
2024-11-16 12:46:42 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
c30f02ae4c
Sharkey
/
src
/
client
/
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 06:30:17 +02:00
export
const
isDeviceTouch
=
'maxTouchPoints'
in
navigator
&&
navigator
.
maxTouchPoints
>
0
;
Reference in a new issue
Copy permalink