mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-04 16:37:42 +00:00
refactor(diff): drive diff DOM init from the global selector observer (#38740)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{{if or $hasLeft $hasRight}}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="image-diff"
|
||||
<div class="image-diff" data-global-init="initDiffFileImageDiff"
|
||||
data-path-before="{{$root.BeforeRawPath}}/{{PathEscapeSegments $file.OldName}}"
|
||||
data-path-after="{{$root.RawPath}}/{{PathEscapeSegments $file.Name}}"
|
||||
data-mime-before="{{$file.LeftBlobMimeType}}"
|
||||
|
||||
Reference in New Issue
Block a user