mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
80e2ffba66
commit
69460273e1
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ export const globalShortcut = () => {
|
||||||
getAllTabs().find(item => {
|
getAllTabs().find(item => {
|
||||||
if (item.headElement?.classList.contains("item--focus")) {
|
if (item.headElement?.classList.contains("item--focus")) {
|
||||||
item.parent.removeTab(item.id);
|
item.parent.removeTab(item.id);
|
||||||
return;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue