summaryrefslogtreecommitdiff
path: root/tests/dynClass.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-05-04 12:33:44 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2014-05-04 12:33:44 -0400
commit2527fe34a9b8d01e2245c5812441a6da2a799ad8 (patch)
tree3afebbab38c1bef5a1f8774e3032365283ba985e /tests/dynClass.ur
parent03769b32eeb1568fdd5cdf5b34a001fe473b931e (diff)
Fix dynClass for non-<body> contexts
Diffstat (limited to 'tests/dynClass.ur')
-rw-r--r--tests/dynClass.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dynClass.ur b/tests/dynClass.ur
index 37f931a2..7cb94d28 100644
--- a/tests/dynClass.ur
+++ b/tests/dynClass.ur
@@ -15,7 +15,7 @@ fun main () : transaction page =
STYLE "width: 500px"
else
STYLE "width: 200px")}
- onclick={b <- get toggle; set toggle (not b)}/>
+ onclick={fn _ => b <- get toggle; set toggle (not b)}/>
<button dynStyle={b <- signal toggle;
return (if b then