diff --git a/app/src/boot/globalShortcut.ts b/app/src/boot/globalShortcut.ts index d0d78f9c2..00a651b17 100644 --- a/app/src/boot/globalShortcut.ts +++ b/app/src/boot/globalShortcut.ts @@ -406,7 +406,7 @@ export const globalShortcut = (app: App) => { } }); if (!cardElement) { - cardElement = document.querySelector(`.layout__wnd--active div[data-key="${window.siyuan.config.keymap.general.riffCard.custom}"]:not(.fn__none)`) + cardElement = document.querySelector(`.layout__wnd--active div[data-key="${window.siyuan.config.keymap.general.riffCard.custom}"]:not(.fn__none)`); } if (cardElement) { event.preventDefault(); diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index 0ab397fc4..1a85b77da 100644 --- a/app/src/plugin/API.ts +++ b/app/src/plugin/API.ts @@ -74,7 +74,7 @@ let openTab; /// #if MOBILE openTab = () => { // TODO: Mobile -} +}; /// #else openTab = openFile; /// #endif