From 7a9ee9d76423d1443da0e75914c5f6d90075cc68 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 18 Oct 2014 16:20:09 -0700 Subject: [PATCH] Don't highlight threads with unread posts unless 'Show Unread Count' is on. --- src/Monitoring/ThreadWatcher.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 77802bf02..541f3c7e7 100755 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -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: ->