summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-12-05 18:20:59 +0100
committerRoland Reichwein <mail@reichwein.it>2022-12-05 18:20:59 +0100
commit207573c3a947f2d94329fff0eaa359366b662d4f (patch)
tree1f82a192ed0b07c601646f4c6a1e04165ae93efe
parentebd8788ce81b6eed09dbfa8b80b7fcb2823f3dee (diff)
Focus on board to show cursor
-rw-r--r--html/whiteboard.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/html/whiteboard.js b/html/whiteboard.js
index c6fb657..ae20c5b 100644
--- a/html/whiteboard.js
+++ b/html/whiteboard.js
@@ -144,6 +144,8 @@ function init_board() {
hideQRWindow();
}
}
+
+ document.getElementById("board").focus();
}
function get_id()