Fix #1610
This commit is contained in:
parent
6c748be4cb
commit
92e08cd76b
@ -1,3 +1,5 @@
|
||||
- Fix quoting.
|
||||
|
||||
### 3.20.11 - *2014-04-30*
|
||||
|
||||
- Minor bug fixes.
|
||||
|
||||
@ -208,13 +208,13 @@ Build =
|
||||
' </span> ' +
|
||||
"<span class=dateTime data-utc=#{dateUTC}>#{date}</span> " +
|
||||
"<span class='postNum'>" +
|
||||
"<a href=#{Build.path boardID, threadID, postID} title='Highlight this post'>No.</a>" +
|
||||
"<a href=#{Build.path boardID, threadID, postID} title='Link to this post'>No.</a>" +
|
||||
"<a href='#{
|
||||
if g.VIEW is 'thread' and g.THREADID is threadID
|
||||
"javascript:quote(#{postID})"
|
||||
else
|
||||
Build.path boardID, threadID, postID, 'q'
|
||||
}' title='Quote this post'>#{postID}</a>" +
|
||||
}' title='Reply to this post'>#{postID}</a>" +
|
||||
pageIcon + sticky + closed + replyLink +
|
||||
'</span>' +
|
||||
'</div>' +
|
||||
|
||||
@ -49,7 +49,7 @@ class Thread
|
||||
else if g.VIEW is 'index'
|
||||
$ '.page-num', @OP.nodes.info
|
||||
else
|
||||
$ '[title="Quote this post"]', @OP.nodes.info
|
||||
$ '[title="Reply to this post"]', @OP.nodes.info
|
||||
$.after root, [$.tn(' '), icon]
|
||||
|
||||
return unless @catalogView
|
||||
|
||||
@ -57,7 +57,7 @@ QR =
|
||||
node: ->
|
||||
if QR.db.get {boardID: @board.ID, threadID: @thread.ID, postID: @ID}
|
||||
$.addClass @nodes.root, 'your-post'
|
||||
$.on $('a[title="Quote this post"]', @nodes.info), 'click', QR.quote
|
||||
$.on $('a[title="Reply to this post"]', @nodes.info), 'click', QR.quote
|
||||
|
||||
open: ->
|
||||
if QR.nodes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user