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";