From d08b6642ecc9aa87bde761f828120eb8efa07365 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 20 Mar 2021 15:50:52 -0400 Subject: Autofocus tweaks --- docs/index.html | 2 +- docs/repl.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 25e4a3b7..a4ec639d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,7 +14,7 @@
- +
"B Q N"
diff --git a/docs/repl.js b/docs/repl.js index 6b6e1332..0627d87e 100644 --- a/docs/repl.js +++ b/docs/repl.js @@ -159,5 +159,6 @@ if (location.hash) { setcount(doc.code.value = (new TextDecoder()).decode(b)); if (ee && doc.doexplain) doc.doexplain.onclick(); if (run) repl(); + doc.code.focus(); } } -- cgit v1.2.3