diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 592e086ce..c0957dc00 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -11849,7 +11849,7 @@ }, post: function() { var postLink; - if (g.VIEW === 'thread' && !this.isClone) { + if (g.VIEW === 'thread' && this.thread.ID === g.THREADID) { return; } postLink = $('a[title="Highlight this post"]', this.nodes.info); diff --git a/builds/crx/script.js b/builds/crx/script.js index a62ca9df5..ebf970f69 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -11838,7 +11838,7 @@ }, post: function() { var postLink; - if (g.VIEW === 'thread' && !this.isClone) { + if (g.VIEW === 'thread' && this.thread.ID === g.THREADID) { return; } postLink = $('a[title="Highlight this post"]', this.nodes.info); diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index 0fa5a7cb4..c143519f5 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -12,13 +12,13 @@ Navigate = cb: @post thread: -> - return if g.VIEW is 'thread' # The reply link only exist in index view + return if g.VIEW is 'thread' # The reply link only exists in index view replyLink = $ 'a.replylink', @OP.nodes.info $.on replyLink, 'click', Navigate.navigate post: -> # We don't need to reload the thread inside the thread - return if g.VIEW is 'thread' and not @isClone + return if g.VIEW is 'thread' and @thread.ID is g.THREADID postLink = $ 'a[title="Highlight this post"]', @nodes.info $.on postLink, 'click', Navigate.navigate