You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix typo
This commit is contained in:
@@ -211,7 +211,7 @@ module.exports = React.createClass({
|
|||||||
}
|
}
|
||||||
else if (ev.keyCode === KeyCode.UP || ev.keyCode === KeyCode.DOWN) {
|
else if (ev.keyCode === KeyCode.UP || ev.keyCode === KeyCode.DOWN) {
|
||||||
var oldSelectionStart = this.refs.textarea.selectionStart;
|
var oldSelectionStart = this.refs.textarea.selectionStart;
|
||||||
// Remember the keyboard because React will recycle the synthetic event
|
// Remember the keyCode because React will recycle the synthetic event
|
||||||
var keyCode = ev.keyCode;
|
var keyCode = ev.keyCode;
|
||||||
// set a callback so we can see if the cursor position changes as
|
// set a callback so we can see if the cursor position changes as
|
||||||
// a result of this event. If it doesn't, we cycle history.
|
// a result of this event. If it doesn't, we cycle history.
|
||||||
|
|||||||
Reference in New Issue
Block a user