diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-03 17:33:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-03 17:33:39 +0200 |
commit | b891f9bc612217b5b6f08a886c7d12eca260b9c8 (patch) | |
tree | 2457cc69161a47a1c07a77aaf0ef2c65beb47dfe /client/src/assets/player/resolution-menu-button.ts | |
parent | 33d7855229f45d73a767566f1dbcb87709211ebf (diff) | |
download | PeerTube-b891f9bc612217b5b6f08a886c7d12eca260b9c8.tar.gz PeerTube-b891f9bc612217b5b6f08a886c7d12eca260b9c8.tar.zst PeerTube-b891f9bc612217b5b6f08a886c7d12eca260b9c8.zip |
Fix watch page video change
Diffstat (limited to 'client/src/assets/player/resolution-menu-button.ts')
-rw-r--r-- | client/src/assets/player/resolution-menu-button.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/assets/player/resolution-menu-button.ts b/client/src/assets/player/resolution-menu-button.ts index c927b084d..712e71192 100644 --- a/client/src/assets/player/resolution-menu-button.ts +++ b/client/src/assets/player/resolution-menu-button.ts | |||
@@ -35,8 +35,7 @@ class ResolutionMenuButton extends MenuButton { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | createMenu () { | 37 | createMenu () { |
38 | const menu = new Menu(this.player()) | 38 | const menu = new Menu(this.player_) |
39 | |||
40 | for (const videoFile of this.player_.peertube().videoFiles) { | 39 | for (const videoFile of this.player_.peertube().videoFiles) { |
41 | menu.addChild(new ResolutionMenuItem( | 40 | menu.addChild(new ResolutionMenuItem( |
42 | this.player_, | 41 | this.player_, |