diff options
author | Unknwon <u@gogs.io> | 2017-02-23 13:12:28 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-23 13:12:28 -0500 |
commit | 0c8c1ee96ffb5479cd42c3e458a5bd59244bbd88 (patch) | |
tree | c0a2e07ad3026bbc861048cafafeb6d9b181a710 /routers/repo | |
parent | 7d80c5a7223d793a8ee73aa8ba7928e5b68176c0 (diff) |
pull: fix split view on pull request page (#3695)
Diffstat (limited to 'routers/repo')
-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) } |