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