🎨 Clean code
This commit is contained in:
parent
51501ed4a0
commit
61623d3980
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue