Clones? No.

This commit is contained in:
Zixaphir 2014-01-10 21:16:56 -07:00
parent 55453f02e4
commit 1555eb8166
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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