aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comments.component.ts6
1 files changed, 2 insertions, 4 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 750c09c47..a87bc16d7 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
@@ -192,10 +192,9 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
192 return this.authService.isLoggedIn() 192 return this.authService.isLoggedIn()
193 } 193 }
194 194
195 onNearOfBottom () { 195 onNearOfBottom () {
196 this.componentPagination.currentPage++
197
198 if (hasMoreItems(this.componentPagination)) { 196 if (hasMoreItems(this.componentPagination)) {
197 this.componentPagination.currentPage++
199 this.loadMoreThreads() 198 this.loadMoreThreads()
200 } 199 }
201 } 200 }
@@ -219,7 +218,6 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy {
219 this.componentPagination.totalItems = null 218 this.componentPagination.totalItems = null
220 219
221 this.syndicationItems = this.videoCommentService.getVideoCommentsFeeds(this.video.uuid) 220 this.syndicationItems = this.videoCommentService.getVideoCommentsFeeds(this.video.uuid)
222
223 this.loadMoreThreads() 221 this.loadMoreThreads()
224 } 222 }
225 } 223 }