From 9088a8c615f17ce8976efd4b2c1a0418bc1a4e4d Mon Sep 17 00:00:00 2001 From: charles Date: Thu, 20 Jun 2024 11:45:58 +0800 Subject: [PATCH] Fix the wrong line number in the diff view page when expanded twice. --- templates/repo/diff/blob_excerpt.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/diff/blob_excerpt.tmpl b/templates/repo/diff/blob_excerpt.tmpl index 2874ac6a55c61..cc2237029bd68 100644 --- a/templates/repo/diff/blob_excerpt.tmpl +++ b/templates/repo/diff/blob_excerpt.tmpl @@ -53,17 +53,17 @@
{{if or (eq $expandDirection 3) (eq $expandDirection 5)}} - {{end}} {{if or (eq $expandDirection 3) (eq $expandDirection 4)}} - {{end}} {{if eq $expandDirection 2}} - {{end}}