diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-14 18:06:56 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-14 18:06:56 +0200 |
commit | 2baea0c77cc765f7cbca9c9a2f4272268892a35c (patch) | |
tree | 47b1be5535439409a97eb80c0222c9c821b83dae /client/src/app/videos/+video-watch/comment | |
parent | bf079b7bfd7f0fb75ceb28e333bb4b74d8840dd4 (diff) | |
download | PeerTube-2baea0c77cc765f7cbca9c9a2f4272268892a35c.tar.gz PeerTube-2baea0c77cc765f7cbca9c9a2f4272268892a35c.tar.zst PeerTube-2baea0c77cc765f7cbca9c9a2f4272268892a35c.zip |
Add ability for uploaders to schedule video update
Diffstat (limited to 'client/src/app/videos/+video-watch/comment')
-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) |