This commit is contained in:
Timothy Jaeryang Baek 2024-12-19 12:19:06 -08:00
parent 1ea00a58f9
commit 0db0b8ce2c

View File

@ -727,14 +727,14 @@
...document.getElementsByClassName('user-message')
]?.at(-1);
const editButton = [
...document.getElementsByClassName('edit-user-message-button')
]?.at(-1);
if (userMessageElement) {
userMessageElement.scrollIntoView({ block: 'center' });
const editButton = [
...document.getElementsByClassName('edit-user-message-button')
]?.at(-1);
console.log(userMessageElement);
userMessageElement.scrollIntoView({ block: 'center' });
editButton?.click();
editButton?.click();
}
}
if (commandsContainerElement) {