mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 00:50:56 +08:00
This commit is contained in:
parent
9e948196ed
commit
81f2cc2056
@ -47,7 +47,7 @@ export const initStatus = (isWindow = false) => {
|
|||||||
document.querySelectorAll(".dock").forEach(item => {
|
document.querySelectorAll(".dock").forEach(item => {
|
||||||
if (dockIsShow) {
|
if (dockIsShow) {
|
||||||
item.classList.add("fn__none");
|
item.classList.add("fn__none");
|
||||||
} else if (item.querySelectorAll(".dock__item").length > 1) {
|
} else if (item.querySelectorAll(".dock__item").length > 0) {
|
||||||
item.classList.remove("fn__none");
|
item.classList.remove("fn__none");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user