mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Improved key event handling
This commit is contained in:
parent
81d521c562
commit
1c1b043a50
7 changed files with 35 additions and 43 deletions
|
|
@ -8,7 +8,7 @@ import { ComposeType, FolderType, MessageSetAction } from 'Common/EnumsUser';
|
|||
import { doc,
|
||||
leftPanelDisabled, toggleLeftPanel,
|
||||
Settings, SettingsCapa,
|
||||
addEventsListeners,
|
||||
addEventsListeners, stopEvent,
|
||||
addShortcut, registerShortcut, formFieldFocused
|
||||
} from 'Common/Globals';
|
||||
|
||||
|
|
@ -412,8 +412,7 @@ export class MailMessageList extends AbstractViewRight {
|
|||
moveCommand(vm, event) {
|
||||
if (this.mobileCheckedStateShow()) {
|
||||
if (vm && event?.preventDefault) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
stopEvent(event);
|
||||
}
|
||||
|
||||
let b = moveAction();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue