diff --git a/src_data/scripts/lang.js b/src_data/scripts/lang.js index 9be0df6..084f004 100644 --- a/src_data/scripts/lang.js +++ b/src_data/scripts/lang.js @@ -102,7 +102,7 @@ class Lang { } getSuitableLocale(locales) { - return locales.find(this.localeIsSupported) || this.defaultLocale; + return locales.find(this.localeIsSupported, this) || this.defaultLocale; } browserLocales(codeOnly = false) {