diff options
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/routing/scroll.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/routing/scroll.service.ts b/client/src/app/core/routing/scroll.service.ts index bd5076502..6d37fde71 100644 --- a/client/src/app/core/routing/scroll.service.ts +++ b/client/src/app/core/routing/scroll.service.ts | |||
@@ -67,7 +67,7 @@ export class ScrollService { | |||
67 | private consumeScroll () { | 67 | private consumeScroll () { |
68 | // Handle anchors/restore position | 68 | // Handle anchors/restore position |
69 | this.peertubeRouter.getScrollEvents().subscribe(e => { | 69 | this.peertubeRouter.getScrollEvents().subscribe(e => { |
70 | logger('Will schedule scroll after router event %o.', e) | 70 | logger('Will schedule scroll after router event %o.', { e, resetScroll: this.resetScroll }) |
71 | 71 | ||
72 | // scrollToAnchor first to preserve anchor position when using history navigation | 72 | // scrollToAnchor first to preserve anchor position when using history navigation |
73 | if (e.anchor) { | 73 | if (e.anchor) { |