From 17cce528f8f24e2de321f34bc0bca8ec5c977e1c Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 17 Nov 2024 18:44:23 -0800 Subject: [PATCH] Undo docstring changes --- public/scripts/RossAscends-mods.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index 391f34ce9..fb55e42dd 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -699,8 +699,7 @@ const chatBlock = document.getElementById('chat'); const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; /** - * Resizes the chat input textarea vertically to match its text content, up to a maximum height defined in CSS. - * Preserves scroll position in Chrome. In Firefox, the textarea grows to cover the chat history. + * this makes the chat input text area resize vertically to match the text size (limited by CSS at 50% window height) */ function autoFitSendTextArea() { const originalScrollBottom = chatBlock.scrollHeight - (chatBlock.scrollTop + chatBlock.offsetHeight);