1
0
Fork 0

Remove the keyboard shortcut for sending a draft

The ctrlPressed value seems to be inaccurate, and I keep sending drafts
by accident.
This commit is contained in:
Ryan Fox 2021-04-12 23:23:37 +00:00
parent a27709ccfd
commit c557d41acb
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 0 additions and 2 deletions

View File

@ -197,8 +197,6 @@ draftView ({ draft, currentUser, ctrlPressed } as model) =
Ok NoOp
else if code == 27 then
Ok <| DraftEvent CloseAutocomplete
else if ctrlPressed && code == 13 then
Ok SubmitDraft
else
Err "not handling that key"
)