diff options
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r-- | ui/src/components/community.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index 93cdbd92..28841a2e 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -215,6 +215,7 @@ export class Community extends Component<any, State> { let res: GetPostsResponse = msg; this.state.posts = res.posts; this.state.loading = false; + window.scrollTo(0,0); this.setState(this.state); } else if (op == UserOperation.CreatePostLike) { let res: CreatePostLikeResponse = msg; |