From f8babd38b3b37bb87d8ce5ec14b89345693227d8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 1 Apr 2025 15:53:31 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13878 --- app/src/window/onWindowsMsg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/window/onWindowsMsg.ts b/app/src/window/onWindowsMsg.ts index 59e2084b2..267dea001 100644 --- a/app/src/window/onWindowsMsg.ts +++ b/app/src/window/onWindowsMsg.ts @@ -25,7 +25,7 @@ export const onWindowsMsg = (ipcData: IWebSocketData) => { tabItem.remove(); }); } else if (isWindow()) { - document.querySelectorAll(".layout-tab-bar--readonly > .fn__flex-1").forEach((item: HTMLElement) => { + document.querySelectorAll(".layout-tab-bar--readonly .fn__flex-1").forEach((item: HTMLElement) => { if (item.getBoundingClientRect().top <= 0) { if (ipcData.data === "addRegionStyle") { (item.style as CSSStyleDeclarationElectron).WebkitAppRegion = "drag";