diff --git a/ui/modals.go b/ui/modals.go index 56982a6..9dcf575 100644 --- a/ui/modals.go +++ b/ui/modals.go @@ -100,7 +100,7 @@ func Modal(id string, header Node, body Node, closeElements []Node) Node { InlineScript(` let dialog = me(); - let close_buttons = any(".modal-close-el", me()) + let close_buttons = any(".modal-close-el", me()); dialog.on("click", (ev) => { if (ev.target === dialog) {