This commit is contained in:
syuilo
2017-02-20 10:04:11 +09:00
parent 204ad535c0
commit 3c3040783f
17 changed files with 60 additions and 59 deletions

View File

@ -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