summaryrefslogtreecommitdiffstats
path: root/ui/src/components/community.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-22 09:24:13 -0700
committerDessalines <tyhou13@gmx.com>2019-04-22 09:24:13 -0700
commit466f988f47d858274c6de562a2ecc4ec6466bd4d (patch)
tree1d92e0775c0bf8be7b1d88ab9302d5314b691d9d /ui/src/components/community.tsx
parent1fce49ceefa685ac00d469a597748123df98f128 (diff)
Adding document titles.
- Fixes #100
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r--ui/src/components/community.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx
index c89d2f06..f521d518 100644
--- a/ui/src/components/community.tsx
+++ b/ui/src/components/community.tsx
@@ -99,6 +99,7 @@ export class Community extends Component<any, State> {
this.state.moderators = res.moderators;
this.state.admins = res.admins;
this.state.loading = false;
+ document.title = `/f/${this.state.community.name} - Lemmy`;
this.setState(this.state);
} else if (op == UserOperation.EditCommunity) {
let res: CommunityResponse = msg;