This commit is contained in:
the-djmaze 2022-03-09 13:48:25 +01:00
parent accf860796
commit e0498895bc
2 changed files with 1 additions and 2 deletions

View file

@ -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)),

View file

@ -414,7 +414,6 @@ export class MailMessageList extends AbstractViewRight {
searchEnterAction() {
MessagelistUserStore.mainSearch(this.sLastSearchValue);
this.inputMessageListSearchFocus(false);
}
cancelSearch() {