Nav.getThread() should always return current thread in thread view regardless of scrolling.
This commit is contained in:
parent
875f2c06a5
commit
02fa06d4ef
@ -39,6 +39,7 @@ Nav =
|
||||
Nav.scroll +1
|
||||
|
||||
getThread: ->
|
||||
return g.threads["#{g.BOARD}.#{g.THREADID}"].nodes.root if g.VIEW is 'thread'
|
||||
return if $.hasClass doc, 'catalog-mode'
|
||||
for threadRoot in $$ g.SITE.selectors.thread
|
||||
thread = Get.threadFromRoot threadRoot
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user