mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #279
This commit is contained in:
parent
accf860796
commit
e0498895bc
2 changed files with 1 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ export const
|
|||
formFieldFocused = () => doc.activeElement && doc.activeElement.matches('input,textarea'),
|
||||
|
||||
registerShortcut = (keys, modifiers, scopes, method) =>
|
||||
shortcuts.add(keys, modifiers, scopes, () => formFieldFocused() ? true : method()),
|
||||
shortcuts.add(keys, modifiers, scopes, event => formFieldFocused() ? true : method(event)),
|
||||
|
||||
addEventsListener = (element, events, fn, options) =>
|
||||
events.forEach(event => element.addEventListener(event, fn, options)),
|
||||
|
|
|
|||
|
|
@ -414,7 +414,6 @@ export class MailMessageList extends AbstractViewRight {
|
|||
|
||||
searchEnterAction() {
|
||||
MessagelistUserStore.mainSearch(this.sLastSearchValue);
|
||||
this.inputMessageListSearchFocus(false);
|
||||
}
|
||||
|
||||
cancelSearch() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue