diff options
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r-- | routers/repo/pull.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index faf3b789..49f25260 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -626,6 +626,7 @@ func CompareAndPullRequest(ctx *context.Context) { return } + ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split" ctx.HTML(200, COMPARE_PULL) } |