From 81f2cc20562bbff3ebb44a9b15d0b56537e986e6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 17 Feb 2023 15:43:53 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/7375#issuecomment-1434229252 --- app/src/layout/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/layout/status.ts b/app/src/layout/status.ts index da20ac48e..0d1dae4be 100644 --- a/app/src/layout/status.ts +++ b/app/src/layout/status.ts @@ -47,7 +47,7 @@ export const initStatus = (isWindow = false) => { document.querySelectorAll(".dock").forEach(item => { if (dockIsShow) { 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"); } });