aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/explore
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-05-05 15:53:38 +0800
committerGitHub <noreply@github.com>2022-05-05 10:53:38 +0300
commit7b089c465d9f851454be91ca209ab26782648a45 (patch)
treedee38550f07722136028d173ab8a6cdef1546b50 /routers/web/explore
parent5a75a5463e647e6783a973650d3306978ce56c57 (diff)
downloadgitea-7b089c465d9f851454be91ca209ab26782648a45.tar.gz
gitea-7b089c465d9f851454be91ca209ab26782648a45.zip
Remove `RequireHighlightJS` field, update plantuml example. (#19615)
Diffstat (limited to 'routers/web/explore')
-rw-r--r--routers/web/explore/code.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/explore/code.go b/routers/web/explore/code.go
index 28bdc7c9ca..41ca27782f 100644
--- a/routers/web/explore/code.go
+++ b/routers/web/explore/code.go
@@ -138,7 +138,6 @@ func Code(ctx *context.Context) {
ctx.Data["queryType"] = queryType
ctx.Data["SearchResults"] = searchResults
ctx.Data["SearchResultLanguages"] = searchResultLanguages
- ctx.Data["RequireHighlightJS"] = true
ctx.Data["PageIsViewCode"] = true
pager := context.NewPagination(total, setting.UI.RepoSearchPagingNum, page, 5)