Vanessa 2023-05-11 20:09:32 +08:00
parent 0522f1e0ce
commit b5664facaf

View file

@ -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) {