From 323374dd52eab0d152bf4af464d3096597364bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 18 Aug 2020 08:39:45 +0200 Subject: EDIT_MODE correctly exported from view/calendar. --- module/html/view/calendar.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/html/view/calendar.scm') 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; -- cgit v1.2.3