mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 20:38:49 +01:00
This commit is contained in:
parent
395c2e6875
commit
0656dcc2ca
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ export const isMobile = () => {
|
|||
};
|
||||
|
||||
export const isTouchDevice = () => {
|
||||
return ("ontouchstart" in window) || navigator.maxTouchPoints > 0;
|
||||
return ("ontouchstart" in window) || navigator.maxTouchPoints > 1;
|
||||
};
|
||||
|
||||
export const isArrayEqual = (arr1: string[], arr2: string[]) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue