mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
a8d88060f1
commit
2994a95937
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ export const filterHotkey = (event: KeyboardEvent, app: App) => {
|
|||
}
|
||||
if (cardElement) {
|
||||
event.preventDefault();
|
||||
cardElement.dispatchEvent(new CustomEvent("click", {detail: event.key.toLowerCase()}));
|
||||
cardElement.firstElementChild.dispatchEvent(new CustomEvent("click", {detail: event.key.toLowerCase()}));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue