diff options
author | Dessalines <tyhou13@gmx.com> | 2019-06-02 18:35:46 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-06-02 18:35:46 -0700 |
commit | ab9659c2e256e421922756b36fbd6b9f91ba3a54 (patch) | |
tree | 797a8d4ebba6aede39c2fa2ba707fa94dc4bb590 /ui/src/components/community.tsx | |
parent | 107765619aa67171bfe46daa533b90867250a47e (diff) |
Fix page titles for custom site name
- Fixes #113
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r-- | ui/src/components/community.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index efa908f1..6a1f5da2 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -200,7 +200,7 @@ export class Community extends Component<any, State> { this.state.community = res.community; this.state.moderators = res.moderators; this.state.admins = res.admins; - document.title = `/c/${this.state.community.name} - Lemmy`; + document.title = `/c/${this.state.community.name} - ${WebSocketService.Instance.site.name}`; this.setState(this.state); this.fetchPosts(); } else if (op == UserOperation.EditCommunity) { |