summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-06-02 18:35:46 -0700
committerDessalines <tyhou13@gmx.com>2019-06-02 18:35:46 -0700
commitab9659c2e256e421922756b36fbd6b9f91ba3a54 (patch)
tree797a8d4ebba6aede39c2fa2ba707fa94dc4bb590 /ui/src/components/post.tsx
parent107765619aa67171bfe46daa533b90867250a47e (diff)
Fix page titles for custom site name
- Fixes #113
Diffstat (limited to 'ui/src/components/post.tsx')
-rw-r--r--ui/src/components/post.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx
index 3e2e07b3..7152941f 100644
--- a/ui/src/components/post.tsx
+++ b/ui/src/components/post.tsx
@@ -253,7 +253,7 @@ export class Post extends Component<any, PostState> {
this.state.moderators = res.moderators;
this.state.admins = res.admins;
this.state.loading = false;
- document.title = `${this.state.post.name} - Lemmy`;
+ document.title = `${this.state.post.name} - ${WebSocketService.Instance.site.name}`;
this.setState(this.state);
} else if (op == UserOperation.CreateComment) {
let res: CommentResponse = msg;