aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view/calendar/month.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/calp/html/view/calendar/month.scm')
-rw-r--r--module/calp/html/view/calendar/month.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/calp/html/view/calendar/month.scm b/module/calp/html/view/calendar/month.scm
index 2b4c888a..205d6049 100644
--- a/module/calp/html/view/calendar/month.scm
+++ b/module/calp/html/view/calendar/month.scm
@@ -35,7 +35,7 @@
(events-between s e (list->stream long-events)))))
(date-range pre-start post-end (date day: 7))))
- `((script "window.VIEW='month';")
+ `((script ,(lambda () (format #t "window.VIEW='month';")))
(header (@ (class "table-head"))
,(string-titlecase (date->string start-date "~B ~Y")))
(div (@ (class "caltable")