aboutsummaryrefslogtreecommitdiff
path: root/docs/repl.js
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-19 11:32:44 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-19 11:32:44 -0400
commit7aff3dc7e10826b9cb182a87a07570dd01b73f99 (patch)
tree78884a7cd19a5d53586ee5fd37bc5cf0618ceab0 /docs/repl.js
parente66d7d776123417d672b6e8f4a1c041ed48fbe0c (diff)
Fix bug preventing &run in URL from working
Diffstat (limited to 'docs/repl.js')
-rw-r--r--docs/repl.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/repl.js b/docs/repl.js
index 6c58ef7c..759ba621 100644
--- a/docs/repl.js
+++ b/docs/repl.js
@@ -104,7 +104,6 @@ if (location.hash) {
let b=atob(code);
b=new Uint8Array([...b].map(c=>c.charCodeAt(0)));
setcount(doc.code.value = (new TextDecoder()).decode(b));
- if (doc.count) doc.count.textContent=(l=>l+" char"+(l!=1?"s":""))(s.length);
if (run) repl();
}
doc.code.focus();