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:
@@ -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}}
|
||||
|
Reference in New Issue
Block a user