mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
parent
11b8171fde
commit
a6f1e448bf
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