mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-01-08 03:37:02 +01:00
Fix a bug after 9163951f3a
This commit is contained in:
parent
f011787a83
commit
979e1f1bd6
@ -447,13 +447,13 @@ function toggleBigPicture() {
|
||||
// Handle the chat input box growth
|
||||
//------------------------------------------------
|
||||
|
||||
// Variables to store current dimensions
|
||||
let currentChatInputHeight = chatInput.clientHeight;
|
||||
|
||||
// Cache DOM elements
|
||||
const chatContainer = document.getElementById("chat").parentNode.parentNode.parentNode;
|
||||
const chatInput = document.querySelector("#chat-input textarea");
|
||||
|
||||
// Variables to store current dimensions
|
||||
let currentChatInputHeight = chatInput.clientHeight;
|
||||
|
||||
// Update chat layout based on chat and input dimensions
|
||||
function updateCssProperties() {
|
||||
const chatInputHeight = chatInput.clientHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user