mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
fix rename that didn't make it through rebasing
This commit is contained in:
parent
5014b606db
commit
dd1c01068f
@ -130,8 +130,8 @@ export default class BasicMessageEditor extends React.Component {
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
// if caret is a range, take the end position
|
||||
const position = caret.end || caret;
|
||||
// if caret selection is a range, take the end position
|
||||
const position = selection.end || selection;
|
||||
this._setLastCaretFromPosition(position);
|
||||
}
|
||||
if (this.props.placeholder) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user