Fix filtered posts appearing as unread replies in thread watcher even after thread is opened and all posts read.
This commit is contained in:
parent
44a2dfe737
commit
9f148f2514
@ -154,6 +154,10 @@ Unread =
|
|||||||
Unread.update()
|
Unread.update()
|
||||||
|
|
||||||
read: $.debounce 100, (e) ->
|
read: $.debounce 100, (e) ->
|
||||||
|
# Update the lastReadPost when hidden posts are added to the thread.
|
||||||
|
if !Unread.posts.size and Unread.readCount isnt Unread.thread.posts.keys.length
|
||||||
|
Unread.saveLastReadPost()
|
||||||
|
|
||||||
return if d.hidden or !Unread.posts.size
|
return if d.hidden or !Unread.posts.size
|
||||||
height = doc.clientHeight
|
height = doc.clientHeight
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user