Verified Commit 49098d6b authored by Chocobozzz's avatar Chocobozzz
Browse files

Remove unused function

parent ce7c099f
......@@ -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({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment