diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-05-05 15:53:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 10:53:38 +0300 |
commit | 7b089c465d9f851454be91ca209ab26782648a45 (patch) | |
tree | dee38550f07722136028d173ab8a6cdef1546b50 /routers/web/repo/cherry_pick.go | |
parent | 5a75a5463e647e6783a973650d3306978ce56c57 (diff) | |
download | gitea-7b089c465d9f851454be91ca209ab26782648a45.tar.gz gitea-7b089c465d9f851454be91ca209ab26782648a45.zip |
Remove `RequireHighlightJS` field, update plantuml example. (#19615)
Diffstat (limited to 'routers/web/repo/cherry_pick.go')
-rw-r--r-- | routers/web/repo/cherry_pick.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/web/repo/cherry_pick.go b/routers/web/repo/cherry_pick.go index 6667d27410..d2a4e19d0e 100644 --- a/routers/web/repo/cherry_pick.go +++ b/routers/web/repo/cherry_pick.go @@ -47,8 +47,6 @@ func CherryPick(ctx *context.Context) { ctx.Data["commit_message"] = splits[1] } - ctx.Data["RequireHighlightJS"] = true - canCommit := renderCommitRights(ctx) ctx.Data["TreePath"] = "" @@ -77,7 +75,6 @@ func CherryPickPost(ctx *context.Context) { ctx.Data["CherryPickType"] = "cherry-pick" } - ctx.Data["RequireHighlightJS"] = true canCommit := renderCommitRights(ctx) branchName := ctx.Repo.BranchName if form.CommitChoice == frmCommitChoiceNewBranch { |