From 69460273e14546c78fb6543b04c4a4bf679414ca Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 24 Aug 2022 13:31:04 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/5714 --- app/src/util/globalShortcut.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts index fc70ad5d7..3a2638322 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;