mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
fix
This commit is contained in:
parent
1ea00a58f9
commit
0db0b8ce2c
1 changed files with 7 additions and 7 deletions
|
|
@ -727,14 +727,14 @@
|
||||||
...document.getElementsByClassName('user-message')
|
...document.getElementsByClassName('user-message')
|
||||||
]?.at(-1);
|
]?.at(-1);
|
||||||
|
|
||||||
const editButton = [
|
if (userMessageElement) {
|
||||||
...document.getElementsByClassName('edit-user-message-button')
|
userMessageElement.scrollIntoView({ block: 'center' });
|
||||||
]?.at(-1);
|
const editButton = [
|
||||||
|
...document.getElementsByClassName('edit-user-message-button')
|
||||||
|
]?.at(-1);
|
||||||
|
|
||||||
console.log(userMessageElement);
|
editButton?.click();
|
||||||
|
}
|
||||||
userMessageElement.scrollIntoView({ block: 'center' });
|
|
||||||
editButton?.click();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (commandsContainerElement) {
|
if (commandsContainerElement) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue