diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 7367f27af..be6cbb98a 100755 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -15,7 +15,7 @@ ThreadWatcher = @list = @dialog.lastElementChild @refreshButton = $ '.move > .refresh', @dialog - @unreaddb = new DataBoard 'lastReadPosts' + @unreaddb = Unread.db or new DataBoard 'lastReadPosts' $.on d, 'QRPostSuccessful', @cb.post $.on sc, 'click', @toggleWatcher diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index 713b18406..7fed9748a 100755 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -1,6 +1,6 @@ Unread = init: -> - return if g.VIEW isnt 'thread' or !Conf['Unread Count'] and !Conf['Unread Favicon'] and !Conf['Desktop Notifications'] + return if g.VIEW isnt 'thread' or !Conf['Unread Count'] and !Conf['Unread Favicon'] and !Conf['Desktop Notifications'] and !Conf['Show Unread Count'] @db = new DataBoard 'lastReadPosts', @sync @hr = $.el 'hr',