summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-05-17 22:36:34 +0200
committerGitHub <noreply@github.com>2020-05-17 23:36:34 +0300
commitef5f17651779e3c45ea248e3fdd7a51472022243 (patch)
tree435180b7417d06403dfdacd5b3a304e178de0871 /templates/repo
parent03b7e11bd6125d4128cf99bc408723d1548f0613 (diff)
downloadgitea-ef5f17651779e3c45ea248e3fdd7a51472022243.tar.gz
gitea-ef5f17651779e3c45ea248e3fdd7a51472022243.zip
Fix .comment-code-cloud not being removed when cancelling new code comment (#11464)
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/comment_form.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl
index a286725722..e201db4687 100644
--- a/templates/repo/diff/comment_form.tmpl
+++ b/templates/repo/diff/comment_form.tmpl
@@ -2,7 +2,7 @@
{{if $.hidden}}
<button class="comment-form-reply ui green labeled icon tiny button"><i class="reply icon"></i> {{$.root.i18n.Tr "repo.diff.comment.reply"}}</button>
{{end}}
- <form class="ui form {{if $.hidden}}hide{{end}} comment-form comment-form-reply" action="{{$.root.Issue.HTMLURL}}/files/reviews/comments" method="post">
+ <form class="ui form {{if $.hidden}}hide comment-form comment-form-reply{{end}}" action="{{$.root.Issue.HTMLURL}}/files/reviews/comments" method="post">
{{$.root.CsrfTokenHtml}}
<input type="hidden" name="latest_commit_id" value="{{$.root.AfterCommitID}}"/>
<input type="hidden" name="side" value="{{if $.Side}}{{$.Side}}{{end}}">