aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/captions.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/captions.js')
-rw-r--r--src/js/captions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/captions.js b/src/js/captions.js
index c5b45b40..36a1775b 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -127,7 +127,7 @@ const captions = {
// If we change the active track while a cue is already displayed we need to update it
if (this.captions.currentTrack.activeCues && this.captions.currentTrack.activeCues.length > 0) {
- controls.setCue.call(this, this.captions.currentTrack);
+ captions.setCue.call(this, this.captions.currentTrack);
}
}
} else if (this.type === 'vimeo' && this.captions.active) {