From 8c6484af2930546ba61288c4ce156e5aab74f268 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sat, 26 Feb 2022 01:58:12 -0500 Subject: bksp --- index.html | 53 +++++++++++++++++++++++++++-------------------------- static/script.js | 2 +- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/index.html b/index.html index bc3f2db..ebd1e1d 100644 --- a/index.html +++ b/index.html @@ -60,36 +60,37 @@
-
Q
-
W
-
E
-
R
-
T
-
Y
-
U
-
I
-
O
-
P
+
Q
+
W
+
E
+
R
+
T
+
Y
+
U
+
I
+
O
+
P
-
A
-
S
-
D
-
F
-
G
-
H
-
J
-
K
-
L
+
A
+
S
+
D
+
F
+
G
+
H
+
J
+
K
+
L
-
Z
-
X
-
C
-
V
-
B
-
N
-
M
+
Z
+
X
+
C
+
V
+
B
+
N
+
M
+
diff --git a/static/script.js b/static/script.js index 6a52d3e..9692f36 100644 --- a/static/script.js +++ b/static/script.js @@ -201,7 +201,7 @@ document.addEventListener('mousedown', function(e) { focus(e.target); } else if (Array.from(e.target.classList).includes('key')) { e.preventDefault(); - var k = e.target.innerText + var k = e.target.getAttribute('data-key') keyHandler(k) } }) -- cgit v1.2.3