aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 9dca5505..14f77a2e 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -84,7 +84,7 @@ const captions = {
// * toggled: The real captions state
const languages = dedupe(
- Array.from(navigator.languages || navigator.userLanguage).map(language => language.split('-')[0]),
+ Array.from(navigator.languages || navigator.language || navigator.userLanguage).map(language => language.split('-')[0]),
);
let language = (this.storage.get('language') || this.config.captions.language || 'auto').toLowerCase();