Add replies-read CSS class to thread watcher lines with a known unread count of 0.

This commit is contained in:
ccd0 2015-04-06 20:03:30 -07:00
parent 528b6fc4b1
commit 118848ac2e

View File

@ -286,6 +286,7 @@ ThreadWatcher =
$.addClass div, 'current' if g.VIEW is 'thread' and fullID is "#{g.BOARD}.#{g.THREADID}"
$.addClass div, 'dead-thread' if data.isDead
if Conf['Show Unread Count']
$.addClass div, 'replies-read' if data.unread is 0
$.addClass div, 'replies-unread' if data.unread
$.addClass div, 'replies-quoting-you' if data.quotingYou
$.add div, [x, $.tn(' '), link]