Browse Source

pull: fix split view on pull request page (#3695)

pull/3854/merge
Unknwon 8 years ago
parent
commit
0c8c1ee96f
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 1
      routers/repo/pull.go

1
routers/repo/pull.go

@ -626,6 +626,7 @@ func CompareAndPullRequest(ctx *context.Context) {
return return
} }
ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
ctx.HTML(200, COMPARE_PULL) ctx.HTML(200, COMPARE_PULL)
} }

Loading…
Cancel
Save