This commit is contained in:
parent
3cf0e14f7f
commit
a80c0434e6
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ export const JSONToCenter = (app: App, json: ILayoutJSON, layout?: Layout | Wnd
|
|||
child.headElement.querySelector(".item__text").classList.add("fn__none");
|
||||
}
|
||||
}
|
||||
if (json.active) {
|
||||
if (json.active && child.headElement) {
|
||||
child.headElement.setAttribute("data-init-active", "true");
|
||||
}
|
||||
(layout as Wnd).addTab(child, false, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue