Remove unused function

pull/4724/head
Chocobozzz 2022-01-14 11:33:05 +01:00
parent ce7c099f0e
commit 49098d6bbf
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 6 deletions

View File

@ -252,12 +252,6 @@ class PeerTubePlugin extends Plugin {
logger('Set player inactivity to ' + timeout)
}
private isTouchEnabled () {
return ('ontouchstart' in window) ||
navigator.maxTouchPoints > 0 ||
(navigator as any).msMaxTouchPoints > 0
}
private initCaptions () {
for (const caption of this.videoCaptions) {
this.player.addRemoteTextTrack({