This commit is contained in:
Vanessa 2023-05-10 16:11:51 +08:00
parent 72764ddb6e
commit 45143bf319
2 changed files with 2 additions and 2 deletions

View file

@ -406,7 +406,7 @@ export const globalShortcut = (app: App) => {
} }
}); });
if (!cardElement) { 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) { if (cardElement) {
event.preventDefault(); event.preventDefault();

View file

@ -74,7 +74,7 @@ let openTab;
/// #if MOBILE /// #if MOBILE
openTab = () => { openTab = () => {
// TODO: Mobile // TODO: Mobile
} };
/// #else /// #else
openTab = openFile; openTab = openFile;
/// #endif /// #endif