Skip to content

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

:rotating_light:

Vanessab0be3f120d97
diff --git a/app/src/history/history.ts b/app/src/history/history.ts
index 1a6980ba8d..95860e742b 100644
--- a/app/src/history/history.ts
+++ b/app/src/history/history.ts
@@ -309,9 +309,9 @@ export const openHistory = () => {
icon: "iconHistory",
title: window.siyuan.languages.dataHistory,
bindEvent(element) {
- bindEvent(element.firstElementChild)
+ bindEvent(element.firstElementChild);
}
- })
+ });
} else {
const dialog = new Dialog({
content: contentHTML,
@@ -321,7 +321,7 @@ export const openHistory = () => {
historyEditor = undefined;
}
});
- bindEvent(dialog.element, dialog)
+ bindEvent(dialog.element, dialog);
}
};
@@ -623,7 +623,7 @@ const bindEvent = (element: Element, dialog?: Dialog) => {
dialog.destroy();
} else {
closeModel();
- historyEditor = undefined
+ historyEditor = undefined;
}
break;
} else if (type === "compare") {
@@ -633,4 +633,4 @@ const bindEvent = (element: Element, dialog?: Dialog) => {
target = target.parentElement;
}
});
-}
+};
diff --git a/app/src/mobile/util/closePanel.ts b/app/src/mobile/util/closePanel.ts
index fe7eac6506..60be93d65d 100644
--- a/app/src/mobile/util/closePanel.ts
+++ b/app/src/mobile/util/closePanel.ts
@@ -14,4 +14,4 @@ export const closeModel = () => {
document.getElementById("model").style.transform = "";
activeBlur();
hideKeyboardToolbar();
-}
+};