diff src/get_chat.js.luan @ 79:b5a316575e64

reply
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Mar 2025 21:41:53 -0600
parents a63faf49e1d7
children a47036fd0158
line wrap: on
line diff
--- a/src/get_chat.js.luan	Sun Mar 09 22:20:36 2025 -0600
+++ b/src/get_chat.js.luan	Mon Mar 10 21:41:53 2025 -0600
@@ -54,7 +54,17 @@
 	end
 %>
 		<div input>
-			<textarea oninput="fixTextarea(event)" onkeydown="textareaKey(event)"></textarea>
+			<span textarea>
+				<div reply hidden>
+					<div reply_top>
+						<span>Reply to</span>
+						<img src="/images/close.svg" onclick="closeReply()">
+					</div>
+					<div text></div>
+					<div><a when></a></div>
+				</div>
+				<textarea oninput="fixTextarea(event)" onkeydown="textareaKey(event)"></textarea>
+			</span>
 			<button onclick="uploadFile()" title="Add file"><img src="/images/upload_file.svg"></button>
 			<button onclick="addPost()" title="Send"><img src="/images/send.svg"></button>
 		</div>