mirror of https://github.com/gogs/gogs.git
pull: fix split view on pull request page (#3695)
parent
7d80c5a722
commit
0c8c1ee96f
|
@ -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…
Reference in New Issue