mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-12 23:21:23 +08:00
This commit is contained in:
parent
80e2ffba66
commit
69460273e1
@ -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…
Reference in New Issue
Block a user