mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-20 09:16:15 +00:00
fixed
This commit is contained in:
parent
4786cfc5a9
commit
a740fe6252
@ -137,7 +137,7 @@ export default {
|
||||
mounted() {
|
||||
const text_element = document.getElementById('text_element');
|
||||
text_element.addEventListener('input', () => {
|
||||
this.cursorPosition = text_element.selectionStart+1;
|
||||
this.cursorPosition = text_element.selectionStart;
|
||||
});
|
||||
text_element.addEventListener('click', () => {
|
||||
this.cursorPosition = text_element.selectionStart;
|
||||
|
Loading…
x
Reference in New Issue
Block a user