This can execute between thread+post parsing and Thread Watcher callback being run.
This commit is contained in:
parent
f12fbe24a8
commit
2dce5bedce
@ -340,8 +340,8 @@ ThreadWatcher =
|
||||
isWatched = ThreadWatcher.isWatched thread
|
||||
if thread.OP
|
||||
for post in [thread.OP, thread.OP.clones...]
|
||||
toggler = $ '.watch-thread-link', post.nodes.info
|
||||
ThreadWatcher.setToggler toggler, isWatched
|
||||
if (toggler = $ '.watch-thread-link', post.nodes.info)
|
||||
ThreadWatcher.setToggler toggler, isWatched
|
||||
(thread.catalogView.nodes.root.classList.toggle 'watched', isWatched if thread.catalogView)
|
||||
|
||||
if Conf['Pin Watched Threads']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user