Skip to content

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

:rotating_light:

Vanessa45143bf319a8
diff --git a/app/src/boot/globalShortcut.ts b/app/src/boot/globalShortcut.ts
index d0d78f9c27..00a651b179 100644
--- a/app/src/boot/globalShortcut.ts
+++ b/app/src/boot/globalShortcut.ts
@@ -406,7 +406,7 @@ export const globalShortcut = (app: App) => {
}
});
if (!cardElement) {
- cardElement = document.querySelector(`.layout__wnd--active div[data-key="${window.siyuan.config.keymap.general.riffCard.custom}"]:not(.fn__none)`)
+ cardElement = document.querySelector(`.layout__wnd--active div[data-key="${window.siyuan.config.keymap.general.riffCard.custom}"]:not(.fn__none)`);
}
if (cardElement) {
event.preventDefault();
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 0ab397fc47..1a85b77da4 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -74,7 +74,7 @@ let openTab;
/// #if MOBILE
openTab = () => {
// TODO: Mobile
-}
+};
/// #else
openTab = openFile;
/// #endif