Fix #1048.
This commit is contained in:
parent
382346f6de
commit
f93b2dcbd5
@ -2421,6 +2421,8 @@ Get =
|
|||||||
OP.info.comment.replace(/\n+/g, ' // ') or
|
OP.info.comment.replace(/\n+/g, ' // ') or
|
||||||
Conf['Anonymize'] and 'Anonymous' or
|
Conf['Anonymize'] and 'Anonymous' or
|
||||||
$('.nameBlock', OP.nodes.info).textContent.trim()
|
$('.nameBlock', OP.nodes.info).textContent.trim()
|
||||||
|
if excerpt.length > 70
|
||||||
|
excerpt = "#{excerpt[...67]}..."
|
||||||
"/#{thread.board}/ - #{excerpt}"
|
"/#{thread.board}/ - #{excerpt}"
|
||||||
postFromRoot: (root) ->
|
postFromRoot: (root) ->
|
||||||
link = $ 'a[title="Highlight this post"]', root
|
link = $ 'a[title="Highlight this post"]', root
|
||||||
@ -3727,10 +3729,7 @@ ThreadExcerpt =
|
|||||||
name: 'Thread Excerpt'
|
name: 'Thread Excerpt'
|
||||||
cb: @node
|
cb: @node
|
||||||
node: ->
|
node: ->
|
||||||
d.title = if (excerpt = Get.threadExcerpt @).length > 80
|
d.title = Get.threadExcerpt @
|
||||||
"#{excerpt[...77]}..."
|
|
||||||
else
|
|
||||||
excerpt
|
|
||||||
|
|
||||||
Unread =
|
Unread =
|
||||||
init: ->
|
init: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user