Skip to content

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

:rotating_light:

Vanessaec00af7334f3
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index 97fd224e6d..54fb006b86 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -8,8 +8,8 @@ let yDiff: number;
export const handleTouchEnd = () => {
if (window.siyuan.mobileEditor) {
document.querySelectorAll(".protyle-breadcrumb__bar--hide").forEach(item => {
- item.classList.remove("protyle-breadcrumb__bar--hide")
- })
+ item.classList.remove("protyle-breadcrumb__bar--hide");
+ });
window.siyuan.hideBreadcrumb = false;
}
diff --git a/app/src/util/functions.ts b/app/src/util/functions.ts
index 143567bbe0..c93031ca3b 100644
--- a/app/src/util/functions.ts
+++ b/app/src/util/functions.ts
@@ -49,4 +49,4 @@ export const isFileAnnotation = (text: string) => {
// REF https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval
export const looseJsonParse = (text: string) => {
return Function(`"use strict";return (${text})`)();
-}
+};
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts
index 24b20d08bb..8b5bc480b0 100644
--- a/app/src/util/globalShortcut.ts
+++ b/app/src/util/globalShortcut.ts
@@ -86,8 +86,8 @@ export const globalShortcut = () => {
window.addEventListener("mousemove", (event) => {
if (window.siyuan.hideBreadcrumb) {
document.querySelectorAll(".protyle-breadcrumb__bar--hide").forEach(item => {
- item.classList.remove("protyle-breadcrumb__bar--hide")
- })
+ item.classList.remove("protyle-breadcrumb__bar--hide");
+ });
window.siyuan.hideBreadcrumb = false;
}