diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-11-13 00:54:04 -0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-13 10:54:04 +0800 |
commit | 739f07c98e1254f776a7cb943a3430de32b17d1d (patch) | |
tree | 5ba37863a5b2f3188413dc9267d57c63cdb744ff /routers/repo/pull.go | |
parent | bd76e156bb08424841ff992aaffcc5aef913b703 (diff) | |
download | gitea-739f07c98e1254f776a7cb943a3430de32b17d1d.tar.gz gitea-739f07c98e1254f776a7cb943a3430de32b17d1d.zip |
Remember diff view style (#163)
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r-- | routers/repo/pull.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index 83352d7f3c..6e99dfaed0 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -367,7 +367,6 @@ func ViewPullFiles(ctx *context.Context) { } headTarget := path.Join(pull.HeadUserName, pull.HeadRepo.Name) - ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split" ctx.Data["Username"] = pull.HeadUserName ctx.Data["Reponame"] = pull.HeadRepo.Name ctx.Data["IsImageFile"] = commit.IsImageFile |