Compare commits
1 Commits
210939aad7
...
8c9fe4d286
Author | SHA1 | Date | |
---|---|---|---|
8c9fe4d286 |
@ -43,7 +43,9 @@ const
|
||||
query[selected].style.boxShadow = ''
|
||||
|
||||
while (selected < query.length && query[++selected].classList.contains('noshow'));
|
||||
highlightSelected()
|
||||
|
||||
if (!query[selected].classList.contains('noshow'))
|
||||
highlightSelected()
|
||||
return
|
||||
case 'k':
|
||||
if (selected <= 0)
|
||||
@ -51,7 +53,9 @@ const
|
||||
|
||||
query[selected].style.boxShadow = ''
|
||||
while (selected >= 0 && query[--selected].classList.contains('noshow'));
|
||||
highlightSelected()
|
||||
|
||||
if (!query[selected].classList.contains('noshow'))
|
||||
highlightSelected()
|
||||
return
|
||||
case 'h':
|
||||
if (globalThis.location.pathname === '/hidden')
|
||||
@ -62,7 +66,8 @@ const
|
||||
}
|
||||
else
|
||||
query[selected].nextSibling.querySelector('a.clicky.hider')?.click()
|
||||
if (selected + 1 <= query.length)
|
||||
|
||||
if (selected + 1 <= query.length && !query[selected].classList.contains('noshow'))
|
||||
highlightSelected()
|
||||
return
|
||||
case 'c':
|
||||
|
Loading…
x
Reference in New Issue
Block a user