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:
parent
a27709ccfd
commit
c557d41acb
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user