rework of update mechanism and noaction message support for faster clicks on modal

This commit is contained in:
2020-03-30 20:25:17 +02:00
parent 02ea272aae
commit 1e84d965ff
5 changed files with 30 additions and 31 deletions

View File

@@ -95,5 +95,5 @@ class View:
return h("div.modal", {}, [
h("input", { "props": {"type": "checkbox", "checked": modal_shown} }, ""),
h("label.overlay", {}, ""),
h("article", {"on": { "click": msg(NoReset) }}, modal())])
h("article", {"on": { "click": msg(NoAction) }}, modal())])