mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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[]) => {
|
||||
|
||||
Reference in New Issue
Block a user