Workaround the Unread bug on Chrome. #968
This commit is contained in:
parent
e63b0705d3
commit
4fa4ef5304
@ -3711,6 +3711,13 @@ Unread =
|
|||||||
"(#{Unread.posts.length}) /#{g.BOARD}/ - 404"
|
"(#{Unread.posts.length}) /#{g.BOARD}/ - 404"
|
||||||
else
|
else
|
||||||
"(#{Unread.posts.length}) #{Unread.title}"
|
"(#{Unread.posts.length}) #{Unread.title}"
|
||||||
|
<% if (type === 'crx') { %>
|
||||||
|
title = d.title
|
||||||
|
setTimeout ->
|
||||||
|
d.title = ''
|
||||||
|
d.title = title
|
||||||
|
, $.SECOND
|
||||||
|
<% } %>
|
||||||
|
|
||||||
return unless Conf['Unread Tab Icon']
|
return unless Conf['Unread Tab Icon']
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user