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.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/captions.js b/src/js/captions.js
index 14f77a2e..4ad2a956 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -84,7 +84,9 @@ const captions = {
// * toggled: The real captions state
const languages = dedupe(
- Array.from(navigator.languages || navigator.language || 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();