1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

perf: only generate data-comment-url once (#17618)

This commit is contained in:
Gusted
2021-11-14 05:28:57 +00:00
committed by GitHub
parent 424959e07c
commit 8eddb75508
4 changed files with 7 additions and 7 deletions

View File

@@ -118,7 +118,7 @@
{{end}}
</div>
{{else}}
<table class="chroma">
<table class="chroma" data-new-comment-url="{{$.Issue.HTMLURL}}/files/reviews/new_comment">
{{if $.IsSplitStyle}}
{{template "repo/diff/section_split" dict "file" . "root" $}}
{{else}}