From 16a81655036d723a68ca1fd44320db050eb2adfe Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 10 Jul 2016 13:29:50 -0700 Subject: [PATCH] Revert "Remove 'Remove Thread Excerpt'. #904" #1011 This reverts commit 66bc4927a48f6fe2971e16db0a06d45291ecb196. --- src/Miscellaneous/Banner.coffee | 3 +++ src/config/Config.coffee | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/Miscellaneous/Banner.coffee b/src/Miscellaneous/Banner.coffee index 9bffcd49a..e5e12b26a 100644 --- a/src/Miscellaneous/Banner.coffee +++ b/src/Miscellaneous/Banner.coffee @@ -16,6 +16,9 @@ Banner = banner = $ ".boardBanner" {children} = banner + if g.BOARD.ID isnt 'f' and g.VIEW is 'thread' and Conf['Remove Thread Excerpt'] + Banner.setTitle children[1].textContent + children[0].title = "Click to change" $.on children[0], 'click', Banner.cb.toggle diff --git a/src/config/Config.coffee b/src/config/Config.coffee index 8f42c81a2..0e2686b30 100644 --- a/src/config/Config.coffee +++ b/src/config/Config.coffee @@ -361,6 +361,10 @@ Config = 'Scroll back to the last read post when reopening a thread.' 1 ] + 'Remove Thread Excerpt': [ + false + 'Replace the excerpt of the thread in the tab title with the board title.' + ] 'Thread Stats': [ true 'Display reply and image count.'