diff options
author | Dessalines <happydooby@gmail.com> | 2019-06-02 19:46:35 -0700 |
---|---|---|
committer | Dessalines <happydooby@gmail.com> | 2019-06-02 19:46:35 -0700 |
commit | 0a0c80fbbeac2342bacf68e0cd6c047a369ed742 (patch) | |
tree | 2c52cc84554c9d9953085235658f990424627428 /ui/src/components/communities.tsx | |
parent | c337f54a49fcb9dcf96e90f81783ba9817cc01a1 (diff) | |
parent | 73e8b3fcd8439d95bb671d67f8f862b4cb82cc74 (diff) |
Merge branch 'dev'
Diffstat (limited to 'ui/src/components/communities.tsx')
-rw-r--r-- | ui/src/components/communities.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/components/communities.tsx b/ui/src/components/communities.tsx index 96864e9a..c4efe1fb 100644 --- a/ui/src/components/communities.tsx +++ b/ui/src/components/communities.tsx @@ -46,9 +46,7 @@ export class Communities extends Component<any, CommunitiesState> { } componentDidMount() { - document.title = "Communities - Lemmy"; - let table = document.querySelector('#community_table'); - Sortable.initTable(table); + document.title = `Communities - ${WebSocketService.Instance.site.name}`; } // Necessary for back button for some reason @@ -176,6 +174,8 @@ export class Communities extends Component<any, CommunitiesState> { this.state.loading = false; window.scrollTo(0,0); this.setState(this.state); + let table = document.querySelector('#community_table'); + Sortable.initTable(table); } else if (op == UserOperation.FollowCommunity) { let res: CommunityResponse = msg; let found = this.state.communities.find(c => c.id == res.community.id); |