aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-14 11:33:05 +0100
committerChocobozzz <me@florianbigard.com>2022-01-14 11:33:05 +0100
commit49098d6bbf00daf6aec002ff387c189cdfbd5834 (patch)
tree0d2c6c732fbe67fe482d010eebe705734d0a2324
parentce7c099f0e36f00d88f7082dd7e158197d3146dd (diff)
downloadPeerTube-49098d6bbf00daf6aec002ff387c189cdfbd5834.tar.gz
PeerTube-49098d6bbf00daf6aec002ff387c189cdfbd5834.tar.zst
PeerTube-49098d6bbf00daf6aec002ff387c189cdfbd5834.zip
Remove unused function
-rw-r--r--client/src/assets/player/peertube-plugin.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts
index 272f5353d..fd612dd4f 100644
--- a/client/src/assets/player/peertube-plugin.ts
+++ b/client/src/assets/player/peertube-plugin.ts
@@ -252,12 +252,6 @@ class PeerTubePlugin extends Plugin {
252 logger('Set player inactivity to ' + timeout) 252 logger('Set player inactivity to ' + timeout)
253 } 253 }
254 254
255 private isTouchEnabled () {
256 return ('ontouchstart' in window) ||
257 navigator.maxTouchPoints > 0 ||
258 (navigator as any).msMaxTouchPoints > 0
259 }
260
261 private initCaptions () { 255 private initCaptions () {
262 for (const caption of this.videoCaptions) { 256 for (const caption of this.videoCaptions) {
263 this.player.addRemoteTextTrack({ 257 this.player.addRemoteTextTrack({