From e2f26cfa6672f2a64749dc8c1e86f5672d9f0c02 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Thu, 13 Feb 2014 15:04:12 +0100 Subject: [PATCH] Keep the title in 404'd tabs. --- src/Monitoring/Unread.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index 39fc9fce9..fabe6782b 100644 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -158,7 +158,7 @@ Unread = count = Unread.posts.length if Conf['Unread Count'] - d.title = "#{if count or !Conf['Hide Unread Count at (0)'] then "(#{count}) " else ''}#{if g.DEAD then "/#{g.BOARD}/ - 404" else "#{Unread.title}"}" + d.title = "#{if count or !Conf['Hide Unread Count at (0)'] then "(#{count}) " else ''}#{if g.DEAD then Unread.title.replace '-', '- 404 -' else Unread.title}" <% if (type === 'crx') { %> # XXX Chrome bug where it doesn't always update the tab title. # crbug.com/124381