From fd42b38c233278ec7f4df9415f4aca514415a220 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Fri, 24 Apr 2020 20:50:23 -0400 Subject: [PATCH] all focus on button --- ui/static/ui/button.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/static/ui/button.js b/ui/static/ui/button.js index 8ddbded..0a8354d 100644 --- a/ui/static/ui/button.js +++ b/ui/static/ui/button.js @@ -32,4 +32,6 @@ button.addEventListener("click", event => { .then((data) => { count.innerText = data.pressed; }); -}) \ No newline at end of file +}); + +button.focus(); \ No newline at end of file