ソースを参照

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

Unknwon 8 年 前
コミット
0c8c1ee96f
1 ファイル変更1 行追加0 行削除
  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)
 }