diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-13 18:21:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 11:50:08 +0200 |
commit | 16f7022b06fb76c0b00c23c970bc8df605b0ec63 (patch) | |
tree | 0677c72b449485dcaa87ee2b470dfb1a8124b9e0 /client/src/assets/player/settings-menu-item.ts | |
parent | 40e87e9ecc54e3513fb586928330a7855eb192c6 (diff) | |
download | PeerTube-16f7022b06fb76c0b00c23c970bc8df605b0ec63.tar.gz PeerTube-16f7022b06fb76c0b00c23c970bc8df605b0ec63.tar.zst PeerTube-16f7022b06fb76c0b00c23c970bc8df605b0ec63.zip |
Handle subtitles in player
Diffstat (limited to 'client/src/assets/player/settings-menu-item.ts')
-rw-r--r-- | client/src/assets/player/settings-menu-item.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/assets/player/settings-menu-item.ts b/client/src/assets/player/settings-menu-item.ts index 88985e1ae..6e2224e20 100644 --- a/client/src/assets/player/settings-menu-item.ts +++ b/client/src/assets/player/settings-menu-item.ts | |||
@@ -32,6 +32,8 @@ class SettingsMenuItem extends MenuItem { | |||
32 | throw new Error(`Component ${subMenuName} does not exist`) | 32 | throw new Error(`Component ${subMenuName} does not exist`) |
33 | } | 33 | } |
34 | this.subMenu = new SubMenuComponent(this.player(), options, menuButton, this) | 34 | this.subMenu = new SubMenuComponent(this.player(), options, menuButton, this) |
35 | const subMenuClass = this.subMenu.buildCSSClass().split(' ')[0] | ||
36 | this.settingsSubMenuEl_.className += ' ' + subMenuClass | ||
35 | 37 | ||
36 | this.eventHandlers() | 38 | this.eventHandlers() |
37 | 39 | ||