diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 5541f5558..c77dc97de 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -123,7 +123,6 @@ export class AppComponent implements OnInit, AfterViewInit { | |||
123 | const scrollEvent = eventsObs.pipe(filter((e: Event): e is Scroll => e instanceof Scroll)) | 123 | const scrollEvent = eventsObs.pipe(filter((e: Event): e is Scroll => e instanceof Scroll)) |
124 | 124 | ||
125 | scrollEvent.subscribe(e => { | 125 | scrollEvent.subscribe(e => { |
126 | console.log(e) | ||
127 | if (e.position) { | 126 | if (e.position) { |
128 | return this.viewportScroller.scrollToPosition(e.position) | 127 | return this.viewportScroller.scrollToPosition(e.position) |
129 | } | 128 | } |