From 61623d39802a0e96e92cf71304214ef04511b7a6 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 10 Dec 2024 09:20:16 +0800 Subject: [PATCH] :art: Clean code --- app/src/layout/Wnd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.ts index e801442a0..b5cc85fc2 100644 --- a/app/src/layout/Wnd.ts +++ b/app/src/layout/Wnd.ts @@ -101,7 +101,7 @@ export class Wnd { window.siyuan.menus.menu.remove(); event.stopPropagation(); event.preventDefault(); - const frontend = getFrontend() + const frontend = getFrontend(); if ((["desktop", "desktop-window"].includes(frontend) && window.siyuan.config.system.os === "linux") || (frontend === "browser-desktop" && navigator.userAgent.indexOf("Linux") !== -1)) { const activeElement = document.activeElement;