Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
attempt to fix clash of Cmd-M on Mac. Should fix element-hq/element-w…
Browse files Browse the repository at this point in the history
…eb#7047

Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Jul 18, 2018
1 parent 3e95651 commit 6bb88c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/rooms/MessageComposerInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ export default class MessageComposerInput extends React.Component {
}[ev.keyCode];

if (ctrlCmdCommand) {
ev.preventDefault(); // to prevent clashing with Mac's minimize window
return this.handleKeyCommand(ctrlCmdCommand);
}
}
Expand Down

0 comments on commit 6bb88c0

Please sign in to comment.