diff options
author | Eric Brehault <ebrehault@gmail.com> | 2018-06-29 18:21:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-30 09:58:07 +0200 |
commit | b5c4bfd6acfa6b3430b81e3915658d0129b2cd5f (patch) | |
tree | 4cb9179126e49f1a235036de249b24bf057d0367 /client/src/app | |
parent | 6e1bd7056ca50e5ad4e0e4c50d2487489add079e (diff) | |
download | PeerTube-b5c4bfd6acfa6b3430b81e3915658d0129b2cd5f.tar.gz PeerTube-b5c4bfd6acfa6b3430b81e3915658d0129b2cd5f.tar.zst PeerTube-b5c4bfd6acfa6b3430b81e3915658d0129b2cd5f.zip |
remove scroll to top, and keep menu fixed on small devices
Diffstat (limited to 'client/src/app')
-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 494cd9ea6..fc4d6c6a2 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -115,7 +115,6 @@ export class AppComponent implements OnInit { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | toggleMenu () { | 117 | toggleMenu () { |
118 | window.scrollTo(0, 0) | ||
119 | this.isMenuDisplayed = !this.isMenuDisplayed | 118 | this.isMenuDisplayed = !this.isMenuDisplayed |
120 | } | 119 | } |
121 | } | 120 | } |