Mercurial Hosting > chat
diff src/index.html.luan @ 38:436216d17a1b
fix edit and delete
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Nov 2024 21:53:03 -0700 |
parents | 27c41f22d2a9 |
children | 42b741a1d5c6 |
line wrap: on
line diff
--- a/src/index.html.luan Tue Nov 12 20:01:48 2024 -0700 +++ b/src/index.html.luan Tue Nov 12 21:53:03 2024 -0700 @@ -112,8 +112,8 @@ <span pulldown> <img onclick="clickMenu(this)" src="/images/more_vert.svg"> <div> - <span onclick="editPost('<%=user_id%>')">Edit</span> - <span onclick="deletePost('<%=user_id%>')">Delete</span> + <span onclick="editPost(this)">Edit</span> + <span onclick="deletePost(this)">Delete</span> </div> </span> </div>