diff src/chat.html.luan @ 42:1d9d9786d76f

textareas
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 11 Aug 2025 08:27:22 +0900
parents 2a4c83ce3deb
children cc20eebaa74a
line wrap: on
line diff
--- a/src/chat.html.luan	Mon Aug 11 07:58:32 2025 +0900
+++ b/src/chat.html.luan	Mon Aug 11 08:27:22 2025 +0900
@@ -58,7 +58,7 @@
 			</div>
 <%	if is_owner then %>
 			<div ask>
-				<textarea autofocus oninput="fixTextarea(event.target)" onkeydown="textareaKey(event)"><%= html_encode(init_text) %></textarea>
+				<textarea autofocus oninput="fixChatTextarea(event.target)" onkeydown="textareaKey(event)"><%= html_encode(init_text) %></textarea>
 				<div buttons>
 					<audio controls preload=none></audio>
 					<button record onclick="toggleRecording()">Record</button>