diff options
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 37c5725..2516256 100644 --- a/static/script.js +++ b/static/script.js @@ -192,8 +192,8 @@ document.addEventListener('keydown', function(e) { }) document.addEventListener('mousedown', function(e) { - console.log('click', e.target) if (Array.from(e.target.classList).includes('entrybox')) { + e.preventDefault(); unfocus(document.querySelector(`[data-offset="${focused}"]`)); focus(e.target); } |