From d08b6642ecc9aa87bde761f828120eb8efa07365 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 20 Mar 2021 15:50:52 -0400 Subject: Autofocus tweaks --- README.md | 2 +- docs/index.html | 2 +- docs/repl.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 182464dc..f3e991a6 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ E ← ⊐⟜":"⊸(↑At"class="∾1⊸+⊸↓)⊸Enc repl ← "div:cont" E ⟨ "div:kb" E "" "div:rel" E ⟨ - "textarea:code|rows=1|autofocus" E "<⟜'a'⊸/ ""Big Questions Notation""" + "textarea:code|rows=1" E "<⟜'a'⊸/ ""Big Questions Notation""" "svg:demo|viewBox=0 -6 4 12" E "path" Elt "d"‿"M1 -6H0L1 0L0 6H1L4 0z" ⟩ "pre:rslt" E """B Q N""" 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