Fix next/prev thread keybinds when encountering hidden threads with no stubs.
This commit is contained in:
parent
301d5d8a7a
commit
b56a987600
@ -52,7 +52,7 @@ Nav =
|
|||||||
'following'
|
'following'
|
||||||
else
|
else
|
||||||
'preceding'
|
'preceding'
|
||||||
if next = $.x "#{axe}-sibling::div[contains(@class,'thread')][1]", thread
|
if next = $.x "#{axe}-sibling::div[contains(@class,'thread') and not(@hidden)][1]", thread
|
||||||
# Unless we're not at the beginning of the current thread,
|
# Unless we're not at the beginning of the current thread,
|
||||||
# and thus wanting to move to beginning,
|
# and thus wanting to move to beginning,
|
||||||
# or we're above the first thread and don't want to skip it.
|
# or we're above the first thread and don't want to skip it.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user