aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-22 15:31:37 +0200
committerChocobozzz <me@florianbigard.com>2022-07-22 15:31:37 +0200
commitd65cd16551449216f23d68a6238f7739bab34644 (patch)
tree2a6751ce5e754c0133548847bb6e7f79a38f8388 /client/src
parentc8fa571f32b10c083fab07f28d2ef55895ef40af (diff)
downloadPeerTube-d65cd16551449216f23d68a6238f7739bab34644.tar.gz
PeerTube-d65cd16551449216f23d68a6238f7739bab34644.tar.zst
PeerTube-d65cd16551449216f23d68a6238f7739bab34644.zip
video-watch.video-threads.loaded after DOM loading
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts
index 8e556c58f..1652fd3c4 100644
--- a/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/comment/video-comments.component.ts
@@ -130,7 +130,8 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
130 this.totalNotDeletedComments = res.totalNotDeletedComments 130 this.totalNotDeletedComments = res.totalNotDeletedComments
131 131
132 this.onDataSubject.next(res.data) 132 this.onDataSubject.next(res.data)
133 this.hooks.runAction('action:video-watch.video-threads.loaded', 'video-watch', { data: this.componentPagination }) 133
134 setTimeout(() => this.hooks.runAction('action:video-watch.video-threads.loaded', 'video-watch', { data: this.componentPagination }))
134 }, 135 },
135 136
136 error: err => this.notifier.error(err.message) 137 error: err => this.notifier.error(err.message)