Prefer filename to poster name as thread excerpt.

This commit is contained in:
ccd0 2016-05-10 17:52:26 -07:00
parent 0aadc302a7
commit 9a42bf454e

View File

@ -4,6 +4,7 @@ Get =
excerpt = "/#{thread.board}/ - " + (
OP.info.subject?.trim() or
OP.info.commentDisplay.replace(/\n+/g, ' // ') or
OP.file?.name or
OP.info.nameBlock)
return "#{excerpt[...70]}..." if excerpt.length > 73
excerpt