mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 22:31:13 +00:00
parent
a19c84c03e
commit
6091f07d20
1 changed files with 0 additions and 4 deletions
|
@ -192,10 +192,6 @@ export class Post extends Component<any, PostState> {
|
||||||
this.scrollCommentIntoView();
|
this.scrollCommentIntoView();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.checkScrollIntoCommentsParam) {
|
|
||||||
this.scrollIntoCommentSection();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Necessary if you are on a post and you click another post (same route)
|
// Necessary if you are on a post and you click another post (same route)
|
||||||
if (_lastProps.location.pathname !== _lastProps.history.location.pathname) {
|
if (_lastProps.location.pathname !== _lastProps.history.location.pathname) {
|
||||||
// TODO Couldnt get a refresh working. This does for now.
|
// TODO Couldnt get a refresh working. This does for now.
|
||||||
|
|
Loading…
Reference in a new issue