Make possible filtering threads without subject. #1328

This commit is contained in:
ccd0 2017-03-29 22:40:28 -07:00
parent 48609d1c66
commit 379137fbc0

View File

@ -150,7 +150,7 @@ Filter =
tripcode: (post) -> post.info.tripcode
capcode: (post) -> post.info.capcode
pass: (post) -> post.info.pass
subject: (post) -> post.info.subject
subject: (post) -> post.info.subject or (if post.isReply then undefined else '')
comment: (post) -> (post.info.comment ?= Build.parseComment post.info.commentHTML.innerHTML)
flag: (post) -> post.info.flag
filename: (post) -> post.file?.name