diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comments.component.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.ts b/client/src/app/videos/+video-watch/comment/video-comments.component.ts index 274c32d31..3743cd228 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.ts | |||
@@ -83,7 +83,6 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy { | |||
83 | // Scroll to the highlighted thread | 83 | // Scroll to the highlighted thread |
84 | setTimeout(() => { | 84 | setTimeout(() => { |
85 | // -60 because of the fixed header | 85 | // -60 because of the fixed header |
86 | console.log(this.commentHighlightBlock.nativeElement.offsetTop) | ||
87 | const scrollY = this.commentHighlightBlock.nativeElement.offsetTop - 60 | 86 | const scrollY = this.commentHighlightBlock.nativeElement.offsetTop - 60 |
88 | window.scroll(0, scrollY) | 87 | window.scroll(0, scrollY) |
89 | }, 500) | 88 | }, 500) |