oops
This commit is contained in:
parent
c49c201d91
commit
f95acfd134
@ -3555,6 +3555,7 @@ Unread =
|
|||||||
Unread.lastReadPost = $.get("lastReadPosts.#{@board}", threads: {}).threads[@] or 0
|
Unread.lastReadPost = $.get("lastReadPosts.#{@board}", threads: {}).threads[@] or 0
|
||||||
Unread.posts = []
|
Unread.posts = []
|
||||||
Unread.postsQuotingYou = []
|
Unread.postsQuotingYou = []
|
||||||
|
Unread.titleEl = $ 'title', d.head
|
||||||
Unread.title = d.title
|
Unread.title = d.title
|
||||||
posts = []
|
posts = []
|
||||||
for ID, post of @posts
|
for ID, post of @posts
|
||||||
@ -3638,7 +3639,7 @@ Unread =
|
|||||||
if Conf['Unread Count']
|
if Conf['Unread Count']
|
||||||
# XXX Chrome bug where it doesn't always update the tab title.
|
# XXX Chrome bug where it doesn't always update the tab title.
|
||||||
# crbug.com/124381
|
# crbug.com/124381
|
||||||
d.title.textContent = if g.DEAD
|
Unread.titleEl.textContent = if g.DEAD
|
||||||
"(#{Unread.posts.length}) /#{g.BOARD}/ - 404"
|
"(#{Unread.posts.length}) /#{g.BOARD}/ - 404"
|
||||||
else
|
else
|
||||||
"(#{Unread.posts.length}) #{Unread.title}"
|
"(#{Unread.posts.length}) #{Unread.title}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user