mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Added Ctrl/Meta + F to open advanced search screen
Cleanup search field onEnter
This commit is contained in:
parent
e0498895bc
commit
6f2f5bce86
11 changed files with 73 additions and 71 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { addShortcut } from 'Common/Globals';
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
export class KeyboardShortcutsHelpPopupView extends AbstractViewPopup {
|
||||
|
|
@ -10,8 +11,8 @@ export class KeyboardShortcutsHelpPopupView extends AbstractViewPopup {
|
|||
const tabs = dom.querySelectorAll('.tabs input'),
|
||||
last = tabs.length - 1;
|
||||
|
||||
// shortcuts.add('tab', 'shift',
|
||||
shortcuts.add('tab,arrowleft,arrowright', '',
|
||||
// addShortcut('tab', 'shift',
|
||||
addShortcut('tab,arrowleft,arrowright', '',
|
||||
'KeyboardShortcutsHelp',
|
||||
event => {
|
||||
let next = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue