formal-tags and tag-search-completions are only ever loaded from a dynamic page
This commit is contained in:
parent
f912945c1b
commit
41f26c320b
|
@ -1356,10 +1356,6 @@
|
||||||
#:filename "/index.html")
|
#:filename "/index.html")
|
||||||
(static-render! #:mime-type "application/json"
|
(static-render! #:mime-type "application/json"
|
||||||
relative-named-url json-search-completions)
|
relative-named-url json-search-completions)
|
||||||
(static-render! #:mime-type "application/json"
|
|
||||||
relative-named-url json-tag-search-completions)
|
|
||||||
(static-render! #:mime-type "application/json"
|
|
||||||
relative-named-url json-formal-tags)
|
|
||||||
(static-finish-update!)
|
(static-finish-update!)
|
||||||
(for ((completion-ch pending-completions))
|
(for ((completion-ch pending-completions))
|
||||||
(channel-put completion-ch (void)))
|
(channel-put completion-ch (void)))
|
||||||
|
|
|
@ -46,7 +46,7 @@ $(document).ready(function () {
|
||||||
$("table.sortable").tablesorter();
|
$("table.sortable").tablesorter();
|
||||||
|
|
||||||
if ($("#tags").length) {
|
if ($("#tags").length) {
|
||||||
PkgSite.staticJSON((document.body.className === "package-form")
|
PkgSite.dynamicJSON((document.body.className === "package-form")
|
||||||
? "formal-tags"
|
? "formal-tags"
|
||||||
: "tag-search-completions",
|
: "tag-search-completions",
|
||||||
function (completions) {
|
function (completions) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user