Fix regression that broke favicon turning red on thread archival/404. #2190
This commit is contained in:
parent
a47449c834
commit
f3c80c7a48
@ -61,6 +61,7 @@ Unread =
|
|||||||
Unread.readCount++ for ID in @posts.keys when +ID <= Unread.lastReadPost
|
Unread.readCount++ for ID in @posts.keys when +ID <= Unread.lastReadPost
|
||||||
$.one d, '4chanXInitFinished', Unread.ready
|
$.one d, '4chanXInitFinished', Unread.ready
|
||||||
$.on d, 'PostsInserted', Unread.onUpdate
|
$.on d, 'PostsInserted', Unread.onUpdate
|
||||||
|
$.on d, 'ThreadUpdate', (e) -> Unread.update() if e.detail[404]
|
||||||
|
|
||||||
ready: ->
|
ready: ->
|
||||||
Unread.scroll() if Conf['Remember Last Read Post'] and Conf['Scroll to Last Read Post']
|
Unread.scroll() if Conf['Remember Last Read Post'] and Conf['Scroll to Last Read Post']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user