diff options
author | chr <chr@cybre.space> | 2019-10-13 13:22:21 -0700 |
---|---|---|
committer | chr <chr@cybre.space> | 2021-03-01 21:40:50 -0800 |
commit | 03f1abe3b938976ab0fca526422647f23cafd6d7 (patch) | |
tree | eb499e2ea69a129d5f0102c7f316593a8c8452e7 | |
parent | 633d175146d6acaf2cc4bfbfcfdee4c85ef20ed1 (diff) |
Disable unread notifications in window title
-rw-r--r-- | app/javascript/mastodon/features/ui/components/document_title.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/javascript/mastodon/features/ui/components/document_title.js b/app/javascript/mastodon/features/ui/components/document_title.js index cd081b20c..86ba738b0 100644 --- a/app/javascript/mastodon/features/ui/components/document_title.js +++ b/app/javascript/mastodon/features/ui/components/document_title.js @@ -23,15 +23,7 @@ class DocumentTitle extends PureComponent { } _sideEffects () { - const { unread } = this.props; - - if (unread > 99) { - document.title = `(*) ${title}`; - } else if (unread > 0) { - document.title = `(${unread}) ${title}`; - } else { - document.title = title; - } + document.title = title; } render () { |