summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-03-07 22:06:15 +0100
committerGitHub <noreply@github.com>2020-03-07 21:06:15 +0000
commit9d3e69e8677008384d159ee138515ff7498064d7 (patch)
tree6f4108b98bd665506315ce8dd41e2e66b0896a3d /routers/repo/issue.go
parent0c2148c037c4bc23a802c7a5580e3fed336ebe3e (diff)
downloadgitea-9d3e69e8677008384d159ee138515ff7498064d7.tar.gz
gitea-9d3e69e8677008384d159ee138515ff7498064d7.zip
Move dropzone.js to npm/webpack (#10645)
- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0 - make `csrf` available on window.config
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index a8406d3154..9cc6ea1dfa 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -697,7 +697,6 @@ func ViewIssue(ctx *context.Context) {
}
ctx.Data["RequireHighlightJS"] = true
- ctx.Data["RequireDropzone"] = true
ctx.Data["RequireTribute"] = true
ctx.Data["RequireSimpleMDE"] = true
renderAttachmentSettings(ctx)