From c41d91da529bf5368116a3c05fcbe6123a4cad24 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Mon, 6 Aug 2018 06:06:39 +0200 Subject: [PATCH] Fix Split-View line adjustment 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 84f25f083943a..d24ae80d09a15 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -137,7 +137,7 @@ {{if .IsSplitStyle}} {{end}} {{end}}