Fix file edit change preview functionality (#5300) (#5311)

This commit is contained in:
Lauris BH
2018-11-10 16:12:58 +02:00
committed by GitHub
parent e9b984e162
commit 297e619074
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -3,9 +3,7 @@
<div class="file-body file-code code-view code-diff">
<table>
<tbody>
{{with .File}}
{{template "repo/diff/section_unified" .}}
{{end}}
{{template "repo/diff/section_unified" dict "file" .File "root" $}}
</tbody>
</table>
</div>