Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5714

Vanessa69460273e145
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts
index fc70ad5d7e..3a2638322f 100644
--- a/app/src/util/globalShortcut.ts
+++ b/app/src/util/globalShortcut.ts
@@ -589,7 +589,7 @@ export const globalShortcut = () => {
getAllTabs().find(item => {
if (item.headElement?.classList.contains("item--focus")) {
item.parent.removeTab(item.id);
- return;
+ return true;
}
});
return;