projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix scrolling with hash in url
[oweals/peertube.git]
/
client
/
src
/
app
/
app.component.ts
diff --git
a/client/src/app/app.component.ts
b/client/src/app/app.component.ts
index c77dc97deb2b78c685034a8ea16384dd7f262806..5541f555822d2fcf4ea495ac632959c42e48106b 100644
(file)
--- a/
client/src/app/app.component.ts
+++ b/
client/src/app/app.component.ts
@@
-123,6
+123,7
@@
export class AppComponent implements OnInit, AfterViewInit {
const scrollEvent = eventsObs.pipe(filter((e: Event): e is Scroll => e instanceof Scroll))
scrollEvent.subscribe(e => {
+ console.log(e)
if (e.position) {
return this.viewportScroller.scrollToPosition(e.position)
}