diff --git a/pkg/web/components/comment.templ b/pkg/web/components/comment.templ index 60b6214..bb08ce2 100644 --- a/pkg/web/components/comment.templ +++ b/pkg/web/components/comment.templ @@ -75,7 +75,7 @@ templ CommentForm(props CommentFormProps) { hx-post={ "/issues/" + props.IssueID + "/comments" } hx-target="#comments-list" hx-swap="beforeend" - hx-on::after-request="this.reset()" + hx-on::after-success="this.reset()" > @base.Input(base.InputProps{ Name: "author",