mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Fix typo
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
550ee216c6
commit
84a8ca6982
@ -372,7 +372,7 @@ export default class BasicMessageEditor extends React.Component {
|
|||||||
handled = true;
|
handled = true;
|
||||||
// redo
|
// redo
|
||||||
} else if ((!IS_MAC && modKey && event.key === Key.Y) ||
|
} else if ((!IS_MAC && modKey && event.key === Key.Y) ||
|
||||||
(IS_MAC && modkey && event.shiftKey && event.key === Key.Z)) {
|
(IS_MAC && modKey && event.shiftKey && event.key === Key.Z)) {
|
||||||
if (this.historyManager.canRedo()) {
|
if (this.historyManager.canRedo()) {
|
||||||
const {parts, caret} = this.historyManager.redo();
|
const {parts, caret} = this.historyManager.redo();
|
||||||
// pass matching inputType so historyManager doesn't push echo
|
// pass matching inputType so historyManager doesn't push echo
|
||||||
|
Loading…
Reference in New Issue
Block a user