aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/html/view/calendar.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/html/view/calendar.scm b/module/html/view/calendar.scm
index a6b39755..aa67220c 100644
--- a/module/html/view/calendar.scm
+++ b/module/html/view/calendar.scm
@@ -93,8 +93,7 @@
(meta (@ (name end-time)
(content ,(date->string (date+ end-date (date day: 1)) "~s"))))
- (script
- "EDIT_MODE=true;")
+ (script "EDIT_MODE=" ,(if (edit-mode) "true" "false") ";")
(style ,(format #f "html {
--editmode: 1.0;