🚨
This commit is contained in:
parent
eaf65d5d5f
commit
014b2eab8d
1 changed files with 2 additions and 2 deletions
|
@ -681,7 +681,7 @@ export class Wnd {
|
|||
}
|
||||
if (item.headElement) {
|
||||
if (item.headElement.classList.contains("item--focus")) {
|
||||
let latestHeadElement: HTMLElement
|
||||
let latestHeadElement: HTMLElement;
|
||||
Array.from(item.headElement.parentElement.children).forEach((headItem: HTMLElement) => {
|
||||
if (!headItem.isSameNode(item.headElement)) {
|
||||
if (!latestHeadElement) {
|
||||
|
@ -690,7 +690,7 @@ export class Wnd {
|
|||
latestHeadElement = headItem;
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
if (latestHeadElement && !closeAll) {
|
||||
this.switchTab(latestHeadElement, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue