attempt to fix clash of Cmd-M on Mac. Should fix vector-im/riot-web#7047
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
3e956514b3
commit
6bb88c0548
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue