From 43c02a0b780f63c913ba12401ed6db7fad774a7a Mon Sep 17 00:00:00 2001 From: marco.tngl.sh Date: Sun, 01 Mar 2026 16:53:50 +0000 Subject: [PATCH] appview/replyComment: add submit shortcut Signed-off-by: marco.tngl.sh --- appview/pages/templates/repo/issues/fragments/replyComment.html | 7 ++----- 1 file(s) changed, 2 insertion(s)(+), 5 deletion(s)(-) diff --git a/appview/pages/templates/repo/issues/fragments/replyComment.html b/appview/pages/templates/repo/issues/fragments/replyComment.html --- a/appview/pages/templates/repo/issues/fragments/replyComment.html +++ b/appview/pages/templates/repo/issues/fragments/replyComment.html @@ -3,6 +3,7 @@
@@ -13,11 +14,7 @@ name="body" class="w-full p-2" placeholder="Leave a reply..." autofocus - rows="3" - hx-trigger="keydown[ctrlKey&&key=='Enter']" - hx-target="#reply-form-{{ .Comment.Id }}" - hx-get="#" - hx-on:htmx:before-request="event.preventDefault(); document.getElementById('reply-form-{{ .Comment.Id }}').requestSubmit()"> + rows="3">