Browse Source

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

Unknwon 8 years ago
parent
commit
0c8c1ee96f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      routers/repo/pull.go

+ 1 - 0
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)
 }