aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/assets/player/shared/peertube/peertube-plugin.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts
index 7e5a3ebb6..c405e37e0 100644
--- a/client/src/assets/player/shared/peertube/peertube-plugin.ts
+++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts
@@ -315,7 +315,8 @@ class PeerTubePlugin extends Plugin {
315 } 315 }
316 316
317 private initCaptions () { 317 private initCaptions () {
318 debugLogger('Init captions with current subtitle ' + this.currentSubtitle) 318 if (this.currentSubtitle) debugLogger('Init captions with current subtitle ' + this.currentSubtitle)
319 else debugLogger('Init captions without current subtitle')
319 320
320 this.player.tech(true).clearTracks('text') 321 this.player.tech(true).clearTracks('text')
321 322