Clones? No.
This commit is contained in:
parent
55453f02e4
commit
1555eb8166
@ -11849,7 +11849,7 @@
|
|||||||
},
|
},
|
||||||
post: function() {
|
post: function() {
|
||||||
var postLink;
|
var postLink;
|
||||||
if (g.VIEW === 'thread' && !this.isClone) {
|
if (g.VIEW === 'thread' && this.thread.ID === g.THREADID) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
postLink = $('a[title="Highlight this post"]', this.nodes.info);
|
postLink = $('a[title="Highlight this post"]', this.nodes.info);
|
||||||
|
|||||||
@ -11838,7 +11838,7 @@
|
|||||||
},
|
},
|
||||||
post: function() {
|
post: function() {
|
||||||
var postLink;
|
var postLink;
|
||||||
if (g.VIEW === 'thread' && !this.isClone) {
|
if (g.VIEW === 'thread' && this.thread.ID === g.THREADID) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
postLink = $('a[title="Highlight this post"]', this.nodes.info);
|
postLink = $('a[title="Highlight this post"]', this.nodes.info);
|
||||||
|
|||||||
@ -12,13 +12,13 @@ Navigate =
|
|||||||
cb: @post
|
cb: @post
|
||||||
|
|
||||||
thread: ->
|
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
|
replyLink = $ 'a.replylink', @OP.nodes.info
|
||||||
$.on replyLink, 'click', Navigate.navigate
|
$.on replyLink, 'click', Navigate.navigate
|
||||||
|
|
||||||
post: ->
|
post: ->
|
||||||
# We don't need to reload the thread inside the thread
|
# 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
|
postLink = $ 'a[title="Highlight this post"]', @nodes.info
|
||||||
$.on postLink, 'click', Navigate.navigate
|
$.on postLink, 'click', Navigate.navigate
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user