aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-videojs-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-videojs-plugin.ts')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts
index 86cb858e2..a96f6d1a1 100644
--- a/client/src/assets/player/peertube-videojs-plugin.ts
+++ b/client/src/assets/player/peertube-videojs-plugin.ts
@@ -111,10 +111,6 @@ class ResolutionMenuButton extends MenuButton {
111 buildCSSClass () { 111 buildCSSClass () {
112 return super.buildCSSClass() + ' vjs-resolution-button' 112 return super.buildCSSClass() + ' vjs-resolution-button'
113 } 113 }
114
115 dispose () {
116 this.parentNode.removeChild(this)
117 }
118} 114}
119MenuButton.registerComponent('ResolutionMenuButton', ResolutionMenuButton) 115MenuButton.registerComponent('ResolutionMenuButton', ResolutionMenuButton)
120 116
@@ -135,10 +131,6 @@ class PeerTubeLinkButton extends Button {
135 handleClick () { 131 handleClick () {
136 this.player_.pause() 132 this.player_.pause()
137 } 133 }
138
139 dispose () {
140 this.parentNode.removeChild(this)
141 }
142} 134}
143Button.registerComponent('PeerTubeLinkButton', PeerTubeLinkButton) 135Button.registerComponent('PeerTubeLinkButton', PeerTubeLinkButton)
144 136
@@ -226,10 +218,6 @@ class WebTorrentButton extends Button {
226 218
227 return div 219 return div
228 } 220 }
229
230 dispose () {
231 this.parentNode.removeChild(this)
232 }
233} 221}
234Button.registerComponent('WebTorrentButton', WebTorrentButton) 222Button.registerComponent('WebTorrentButton', WebTorrentButton)
235 223