mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-10 18:24:27 +05:00
fix: locale detection error fixed
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user