Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: https://github.com/siyuan-note/siyuan/issues/6497

Vanessa0656dcc2ca22
diff --git a/app/src/util/functions.ts b/app/src/util/functions.ts
index 6d036e183a..fee2df6240 100644
--- a/app/src/util/functions.ts
+++ b/app/src/util/functions.ts
@@ -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[]) => {