From 8c6484af2930546ba61288c4ce156e5aab74f268 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sat, 26 Feb 2022 01:58:12 -0500 Subject: bksp --- static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') 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