Compare commits

..

1 Commits

Author SHA1 Message Date
428c967255 Rewrite 2025-05-18 03:38:55 -04:00

View File

@ -38,8 +38,7 @@ const
query[selected].lastChild.firstChild.firstChild.focus(focusInvisible) query[selected].lastChild.firstChild.firstChild.focus(focusInvisible)
}, },
keydown = event => { keydown = event => {
if (input.has(globalThis.document.activeElement.tagName)) if (!input.has(event.target.tagName))
return
switch (event.key) { switch (event.key) {
case 'j': case 'j':
const lastIndex = query.length - 1 const lastIndex = query.length - 1