Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/8233

Vanessab5664facaf16
diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.ts
index 19ea3e86ab..5b54237e5d 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) {