From 08c8eb77cca894627e43af795b07f2bd2ab58cd4 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 23 Sep 2016 22:21:02 -0700 Subject: [PATCH] Fix bug with updating thread watcher icon when info is in catalog. --- src/Monitoring/ThreadWatcher.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 06bbb2a8c..3c7f1ef10 100644 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -79,12 +79,12 @@ ThreadWatcher = node: -> return if @isReply if @isClone - toggler = $ '.watch-thread-link', @nodes.post + toggler = $ '.watch-thread-link', @nodes.info else toggler = $.el 'a', href: 'javascript:;' className: 'watch-thread-link' - $.before $('input', @nodes.post), toggler + $.before $('input', @nodes.info), toggler boardID = @board.ID threadID = @thread.ID data = ThreadWatcher.db.get {boardID, threadID} @@ -333,7 +333,7 @@ ThreadWatcher = isWatched = ThreadWatcher.isWatched thread if thread.OP for post in [thread.OP, thread.OP.clones...] - toggler = $ '.watch-thread-link', post.nodes.post + toggler = $ '.watch-thread-link', post.nodes.info ThreadWatcher.setToggler toggler, isWatched thread.catalogView.nodes.root.classList.toggle 'watched', isWatched if thread.catalogView