Don't save the unread count if the thread is dead.
This commit is contained in:
parent
6ee8dc83a7
commit
b83e536c86
@ -132,6 +132,7 @@ Unread =
|
|||||||
Unread.update() if e
|
Unread.update() if e
|
||||||
|
|
||||||
saveLastReadPost: ->
|
saveLastReadPost: ->
|
||||||
|
return if Unread.thread.isDead
|
||||||
Unread.db.set
|
Unread.db.set
|
||||||
boardID: Unread.thread.board.ID
|
boardID: Unread.thread.board.ID
|
||||||
threadID: Unread.thread.ID
|
threadID: Unread.thread.ID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user