Skip to content

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

:rotating_light:

Vanessa6d96b91a5da0
diff --git a/app/src/protyle/ui/hideElements.ts b/app/src/protyle/ui/hideElements.ts
index eff7fa50f7..4ee0e7b486 100644
--- a/app/src/protyle/ui/hideElements.ts
+++ b/app/src/protyle/ui/hideElements.ts
@@ -60,7 +60,7 @@ export const hideAllElements = (types: string[]) => {
}
if (types.includes("util")) {
/// #if MOBILE
- const editor = getCurrentEditor()
+ const editor = getCurrentEditor();
editor.protyle.toolbar.subElement.classList.add("fn__none");
if (editor.protyle.toolbar.subElementCloseCB) {
editor.protyle.toolbar.subElementCloseCB();
@@ -73,7 +73,7 @@ export const hideAllElements = (types: string[]) => {
item.editor.protyle.toolbar.subElementCloseCB();
item.editor.protyle.toolbar.subElementCloseCB = undefined;
}
- })
+ });
/// #endif
}
if (types.includes("pdfutil")) {