mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 17:01:49 +02:00
attempt to fix clash of Cmd-M on Mac. Should fix vector-im/riot-web#7047
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user