diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.ts index 19ea3e86a..5b54237e5 100644 --- a/app/src/layout/Wnd.ts +++ b/app/src/layout/Wnd.ts @@ -409,10 +409,6 @@ export class Wnd { public switchTab(target: HTMLElement, pushBack = false, update = true) { setPanelFocus(this.headersElement.parentElement.parentElement); - // https://github.com/siyuan-note/siyuan/issues/8233 - if (target.classList.contains("item--focus")) { - return; - } let currentTab: Tab; this.children.forEach((item) => { if (target === item.headElement) {