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 rename that didn't make it through rebasing
This commit is contained in:
@@ -130,8 +130,8 @@ export default class BasicMessageEditor extends React.Component {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
// if caret is a range, take the end position
|
// if caret selection is a range, take the end position
|
||||||
const position = caret.end || caret;
|
const position = selection.end || selection;
|
||||||
this._setLastCaretFromPosition(position);
|
this._setLastCaretFromPosition(position);
|
||||||
}
|
}
|
||||||
if (this.props.placeholder) {
|
if (this.props.placeholder) {
|
||||||
|
|||||||
Reference in New Issue
Block a user