X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Fresolution-menu-button.ts;h=712e7119260bc818e689e5d456a7aaf934effe15;hb=b891f9bc612217b5b6f08a886c7d12eca260b9c8;hp=c927b084dde8f19485e35f32faea4b6df88b14bb;hpb=c6352f2c64f3c1ad54f8500f493587cdce3d33c9;p=github%2FChocobozzz%2FPeerTube.git 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 { } createMenu () { - const menu = new Menu(this.player()) - + const menu = new Menu(this.player_) for (const videoFile of this.player_.peertube().videoFiles) { menu.addChild(new ResolutionMenuItem( this.player_,