mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
🚨
This commit is contained in:
parent
6e02c3e930
commit
7fb533fa9d
5 changed files with 11 additions and 11 deletions
|
|
@ -279,32 +279,32 @@ export const JSONToLayout = () => {
|
|||
if (item.parent.headElement && !item.parent.headElement.classList.contains("item--pin")) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
}
|
||||
})
|
||||
});
|
||||
allModels.outline.forEach(item => {
|
||||
if (item.parent.headElement && !item.parent.headElement.classList.contains("item--pin")) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
}
|
||||
})
|
||||
});
|
||||
allModels.search.forEach(item => {
|
||||
if (item.parent.headElement && !item.parent.headElement.classList.contains("item--pin")) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
}
|
||||
})
|
||||
});
|
||||
allModels.asset.forEach(item => {
|
||||
if (item.parent.headElement && !item.parent.headElement.classList.contains("item--pin")) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
}
|
||||
})
|
||||
});
|
||||
allModels.graph.forEach(item => {
|
||||
if (item.parent.headElement && !item.parent.headElement.classList.contains("item--pin")) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
}
|
||||
})
|
||||
});
|
||||
allModels.backlinks.forEach(item => {
|
||||
if (item.parent.headElement && !item.parent.headElement.classList.contains("item--pin")) {
|
||||
item.parent.parent.removeTab(item.parent.id);
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue