refac: rich text input styling

This commit is contained in:
Timothy J. Baek
2024-10-19 03:15:40 -07:00
parent 6d25d23326
commit e252ca1dc4
6 changed files with 21 additions and 31 deletions
+4 -4
View File
@@ -823,11 +823,11 @@
);
} else {
// Reset chat input textarea
const chatTextAreaElement = document.getElementById('chat-input');
const chatInputContainer = document.getElementById('chat-input-container');
if (chatTextAreaElement) {
chatTextAreaElement.value = '';
chatTextAreaElement.style.height = '';
if (chatInputContainer) {
chatInputContainer.value = '';
chatInputContainer.style.height = '';
}
const _files = JSON.parse(JSON.stringify(files));