From af295875ee2cf61bd43984acd69addcd0abf9cd7 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Mon, 28 Feb 2022 10:13:24 -0500 Subject: updates --- static/script.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'static/script.js') diff --git a/static/script.js b/static/script.js index 16296a2..325b8e5 100644 --- a/static/script.js +++ b/static/script.js @@ -205,6 +205,9 @@ function keyHandler(key) { return; } var el = document.querySelector(`[data-offset="${focused}"]`); + if (!el.classList.contains('entrybox')) { + return; + } var offset = parseInt(el.getAttribute('data-offset')) var nextel; if (key == 'Backspace') { -- cgit v1.2.3