From 0e04a2091a4391c245042df54f240b8c3d6131cc Mon Sep 17 00:00:00 2001 From: nemoinho Date: Thu, 9 Aug 2018 10:28:55 +0200 Subject: [PATCH] Fix Split-View line adjustment (#4622) The $-function is unreachable in the previous implementation because jQuery is not loaded yet. I fix this by executing the function after the content is loaded, so jQuery is loaded at the time of execution and the call will not fail anymore. Signed-off-by: Felix Nehrke --- templates/repo/diff/box.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 572ed17e1..0a9552acc 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -200,7 +200,7 @@ {{if .IsSplitStyle}} {{end}} {{end}}