mirror of https://github.com/vector-im/riot-web
remove logging
parent
0f38753dba
commit
85adc8953f
|
@ -93,7 +93,6 @@ export function setCaretPosition(editor, caretPosition) {
|
||||||
node = node.childNodes[0];
|
node = node.childNodes[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log("setting caret", caretPosition, node);
|
|
||||||
const sel = document.getSelection();
|
const sel = document.getSelection();
|
||||||
sel.removeAllRanges();
|
sel.removeAllRanges();
|
||||||
const range = document.createRange();
|
const range = document.createRange();
|
||||||
|
|
Loading…
Reference in New Issue