diff options
author | BO41 <lukasw41@gmail.com> | 2018-10-24 21:50:18 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-10-24 21:50:18 +0200 |
commit | 951ef8294e9eae8f0b42292059daf0c972dbc48f (patch) | |
tree | e2c62acffe0f4293d7f6f556cb1fc67b67478bbd /client/src/assets/player/settings-menu-button.ts | |
parent | fa27f07637dd941577ab78de528cbef044b46248 (diff) | |
download | PeerTube-951ef8294e9eae8f0b42292059daf0c972dbc48f.tar.gz PeerTube-951ef8294e9eae8f0b42292059daf0c972dbc48f.tar.zst PeerTube-951ef8294e9eae8f0b42292059daf0c972dbc48f.zip |
add noImplicitThis flag (#1324)
Diffstat (limited to 'client/src/assets/player/settings-menu-button.ts')
-rw-r--r-- | client/src/assets/player/settings-menu-button.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/settings-menu-button.ts b/client/src/assets/player/settings-menu-button.ts index aa7281727..a7aefdcc3 100644 --- a/client/src/assets/player/settings-menu-button.ts +++ b/client/src/assets/player/settings-menu-button.ts | |||
@@ -182,7 +182,7 @@ class SettingsButton extends Button { | |||
182 | } | 182 | } |
183 | 183 | ||
184 | addMenuItem (entry: any, options: any) { | 184 | addMenuItem (entry: any, options: any) { |
185 | const openSubMenu = function () { | 185 | const openSubMenu = function (this: any) { |
186 | if (videojsUntyped.dom.hasClass(this.el_, 'open')) { | 186 | if (videojsUntyped.dom.hasClass(this.el_, 'open')) { |
187 | videojsUntyped.dom.removeClass(this.el_, 'open') | 187 | videojsUntyped.dom.removeClass(this.el_, 'open') |
188 | } else { | 188 | } else { |