wip
This commit is contained in:
parent
204ad535c0
commit
3c3040783f
17 changed files with 60 additions and 59 deletions
|
|
@ -33,7 +33,7 @@
|
|||
document.remove-event-listener 'visibilitychange' @window-on-visibilitychange
|
||||
|
||||
on-stream-post(post) {
|
||||
if document.hidden and post.user_id !== @I.id
|
||||
if document.hidden and post.user_id !== this.I.id
|
||||
@unread-count++
|
||||
document.title = '(' + @unread-count + ') ' + @get-post-summary post
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue