Prefer filename to poster name as thread excerpt.
This commit is contained in:
parent
0aadc302a7
commit
9a42bf454e
@ -4,6 +4,7 @@ Get =
|
|||||||
excerpt = "/#{thread.board}/ - " + (
|
excerpt = "/#{thread.board}/ - " + (
|
||||||
OP.info.subject?.trim() or
|
OP.info.subject?.trim() or
|
||||||
OP.info.commentDisplay.replace(/\n+/g, ' // ') or
|
OP.info.commentDisplay.replace(/\n+/g, ' // ') or
|
||||||
|
OP.file?.name or
|
||||||
OP.info.nameBlock)
|
OP.info.nameBlock)
|
||||||
return "#{excerpt[...70]}..." if excerpt.length > 73
|
return "#{excerpt[...70]}..." if excerpt.length > 73
|
||||||
excerpt
|
excerpt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user