summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/cherry_pick.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/cherry_pick.go')
-rw-r--r--routers/web/repo/cherry_pick.go3
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 {