summaryrefslogtreecommitdiff
path: root/demo/alert.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/alert.ur')
-rw-r--r--demo/alert.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/alert.ur b/demo/alert.ur
index 0f82e4bb..dcd8c202 100644
--- a/demo/alert.ur
+++ b/demo/alert.ur
@@ -1,3 +1,3 @@
fun main () = return <xml><body>
- <button value="Click me!" onclick={alert "You clicked me!"}/>
+ <button value="Click me!" onclick={fn _ => alert "You clicked me!"}/>
</body></xml>