todos.js is now only loaded on index page.
This commit is contained in:
parent
715594328e
commit
34b82aca3a
|
@ -100,7 +100,6 @@
|
|||
(script ((type "text/javascript") (src ,(static "/jquery.tablesorter.min.js"))))
|
||||
(script ((type "text/javascript") (src ,(static "/jquery-ui.min.js"))))
|
||||
(script ((type "text/javascript") (src ,(static "/bootstrap/js/bootstrap.min.js"))))
|
||||
(script ((type "text/javascript") (src ,(static "/todos.js"))))
|
||||
(script ((type "text/javascript") (src ,(static "/site.js"))))
|
||||
,@(for/list ((script (bootstrap-page-scripts)))
|
||||
`(script ((type "text/javascript") (src ,script))))))))
|
||||
|
|
|
@ -692,7 +692,8 @@
|
|||
(define (main-page request)
|
||||
(parameterize ((bootstrap-active-navigation nav-index)
|
||||
(bootstrap-page-scripts (list (static-resource-url "/searchbox.js")
|
||||
(static-resource-url "/index.js"))))
|
||||
(static-resource-url "/index.js")
|
||||
(static-resource-url "/todos.js"))))
|
||||
(define package-name-list (package-search "" '((main-distribution #f)
|
||||
(main-tests #f)
|
||||
(deprecated #f))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user