aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-10 16:06:51 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-10 16:20:03 +0100
commit9e063a71c7c50cb9aa2833d8defd4a9b33e2da82 (patch)
tree1b7fb0e885bb8bf38f789b6a03fec51f076349c2 /module/calp/html/view/calendar.scm
parentRemove commented out script includes. (diff)
downloadcalp-9e063a71c7c50cb9aa2833d8defd4a9b33e2da82.tar.gz
calp-9e063a71c7c50cb9aa2833d8defd4a9b33e2da82.tar.xz
'.btn' no longer contains div.
Previously I generated buttons on the form <a><div/></a> & <button><div/></button>, which was invalid for button tags. This removes the inner div, with the only cost being that the hitbox for the button is slightly wonky if pressed at the top left where the button isn't when it's depressed, since I move it.
Diffstat (limited to 'module/calp/html/view/calendar.scm')
-rw-r--r--module/calp/html/view/calendar.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm
index e487ce3c..e50bcfe5 100644
--- a/module/calp/html/view/calendar.scm
+++ b/module/calp/html/view/calendar.scm
@@ -171,7 +171,7 @@ window.default_calendar='~a';"
[(month) "view=month"]
[(week) "view=week"]
[else ""]))))
- (div "idag"))))
+ "idag")))
(div (@ (id "jump-to"))
;; Firefox's accessability complain about each date