Skip to content

Commit

Permalink
fix: only listen for ctrl+m and stop listening for cmd+m
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Oct 23, 2024
1 parent 55d2771 commit 58d2399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initKeyBindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function initKeyBindings() {
closeMenuModal()
}

if (key === 'm' && (ev.ctrlKey || ev.metaKey)) {
if (key === 'm' && ev.ctrlKey) {
closeDocsearchModal()
toggleMenuModal()
}
Expand Down

0 comments on commit 58d2399

Please sign in to comment.