Fix next/prev thread keybinds when encountering hidden threads with no stubs.

This commit is contained in:
Mayhem 2013-11-04 00:05:59 +01:00
parent 301d5d8a7a
commit b56a987600

View File

@ -52,7 +52,7 @@ Nav =
'following'
else
'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,
# and thus wanting to move to beginning,
# or we're above the first thread and don't want to skip it.