comparison 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
comparison
equal deleted inserted replaced
78:2a602ef53eef 79:b5a316575e64
52 for _, post in ipairs(posts) do 52 for _, post in ipairs(posts) do
53 post_html(post) 53 post_html(post)
54 end 54 end
55 %> 55 %>
56 <div input> 56 <div input>
57 <textarea oninput="fixTextarea(event)" onkeydown="textareaKey(event)"></textarea> 57 <span textarea>
58 <div reply hidden>
59 <div reply_top>
60 <span>Reply to</span>
61 <img src="/images/close.svg" onclick="closeReply()">
62 </div>
63 <div text></div>
64 <div><a when></a></div>
65 </div>
66 <textarea oninput="fixTextarea(event)" onkeydown="textareaKey(event)"></textarea>
67 </span>
58 <button onclick="uploadFile()" title="Add file"><img src="/images/upload_file.svg"></button> 68 <button onclick="uploadFile()" title="Add file"><img src="/images/upload_file.svg"></button>
59 <button onclick="addPost()" title="Send"><img src="/images/send.svg"></button> 69 <button onclick="addPost()" title="Send"><img src="/images/send.svg"></button>
60 </div> 70 </div>
61 </div> 71 </div>
62 <% 72 <%