Don't highlight threads with unread posts unless 'Show Unread Count' is on.

This commit is contained in:
ccd0 2014-10-18 16:20:09 -07:00
parent b2dc8ca341
commit 7a9ee9d764

View File

@ -216,8 +216,9 @@ ThreadWatcher =
fullID = "#{boardID}.#{threadID}"
div.dataset.fullID = fullID
$.addClass div, 'current' if g.VIEW is 'thread' and fullID is "#{g.BOARD}.#{g.THREADID}"
$.addClass div, 'unread-quoting-you' if data.unreadQY
$.addClass div, 'dead-thread' if data.isDead
if Conf['Show Unread Count']
$.addClass div, 'unread-quoting-you' if data.unreadQY
$.add div, [x, $.tn(' '), link]
div
refresh: ->