mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
Fix syntax error and use internal event handler instead of duplicating it
This commit is contained in:
parent
47032bb049
commit
be256482a4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ export default class ComposerView extends React.Component {
|
|||
'composer:show-and-focus-cc': () => this._els.header.showAndFocusField(Fields.Cc),
|
||||
'composer:focus-to': () => this._els.header.showAndFocusField(Fields.To),
|
||||
'composer:show-and-focus-from': () => {},
|
||||
'composer:select-attachment': () => Actions.selectAttachment({ headerMessageId: this.props.draft.headerMessageId });,
|
||||
'composer:select-attachment': () => this._onSelectAttachment(),
|
||||
'core:undo': event => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
|
Loading…
Reference in a new issue