fix(core): search `f` keycode

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/54367/head
Atemu 5 months ago committed by nextcloud-command
parent 65f8de6d94
commit d69e8923fe
  1. 2
      core/src/views/UnifiedSearch.vue

@ -129,7 +129,7 @@ export default defineComponent({
* @param event The keyboard event
*/
onKeyDown(event: KeyboardEvent) {
if (event.ctrlKey && event.code === 'KeyF') {
if (event.ctrlKey && event.key === 'f') {
// only handle search if not already open - in this case the browser native search should be used
if (!this.showLocalSearch && !this.showUnifiedSearch) {
event.preventDefault()

Loading…
Cancel
Save