mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
0522f1e0ce
commit
b5664facaf
1 changed files with 0 additions and 4 deletions
|
|
@ -409,10 +409,6 @@ export class Wnd {
|
||||||
|
|
||||||
public switchTab(target: HTMLElement, pushBack = false, update = true) {
|
public switchTab(target: HTMLElement, pushBack = false, update = true) {
|
||||||
setPanelFocus(this.headersElement.parentElement.parentElement);
|
setPanelFocus(this.headersElement.parentElement.parentElement);
|
||||||
// https://github.com/siyuan-note/siyuan/issues/8233
|
|
||||||
if (target.classList.contains("item--focus")) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
let currentTab: Tab;
|
let currentTab: Tab;
|
||||||
this.children.forEach((item) => {
|
this.children.forEach((item) => {
|
||||||
if (target === item.headElement) {
|
if (target === item.headElement) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue