]> source.dussan.org Git - gitea.git/commitdiff
Fix .comment-code-cloud not being removed when cancelling new code comment (#11464)
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Sun, 17 May 2020 20:36:34 +0000 (22:36 +0200)
committerGitHub <noreply@github.com>
Sun, 17 May 2020 20:36:34 +0000 (23:36 +0300)
templates/repo/diff/comment_form.tmpl

index a286725722922385e0abdd34db27e6c22bcbb2e0..e201db46875cfaad219eedf9fc7b6a9addda5956 100644 (file)
@@ -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}}">