From 410dc8034dc5a34bd50cf9e96583e7dffd45f69a Mon Sep 17 00:00:00 2001 From: saxamaphone69 Date: Sun, 14 May 2023 08:54:15 +1000 Subject: [PATCH] Adds subject to stubbed threads --- src/Filtering/ThreadHiding.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filtering/ThreadHiding.coffee b/src/Filtering/ThreadHiding.coffee index bee113adff..65e9060ebd 100644 --- a/src/Filtering/ThreadHiding.coffee +++ b/src/Filtering/ThreadHiding.coffee @@ -149,7 +149,7 @@ ThreadHiding = numReplies += +summary.textContent.match /\d+/ if summary = $ g.SITE.selectors.summary, root a = ThreadHiding.makeButton thread, 'show' - $.add a, $.tn " #{thread.OP.info.nameBlock} (#{if numReplies is 1 then '1 reply' else "#{numReplies} replies"})" + $.add a, $.tn " #{if thread.OP.info.subject? then thread.OP.info.subject + ' - ' else ''}#{thread.OP.info.nameBlock} (#{if numReplies is 1 then '1 reply' else "#{numReplies} replies"})" thread.stub = $.el 'div', className: 'stub' if Conf['Menu']