diff options
author | cyfraeviolae <cyfraeviolae> | 2022-02-26 01:58:12 -0500 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-02-26 01:58:12 -0500 |
commit | 8c6484af2930546ba61288c4ce156e5aab74f268 (patch) | |
tree | 85cd789f2802c63ada30aef421217bfb78a2fdcf /static | |
parent | 944fe3f36a79cf9cb548d785ebd9f11792793a64 (diff) |
bksp
Diffstat (limited to 'static')
-rw-r--r-- | static/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) } }) |