Merge pull request #4804 from OZhurbenko/fix-edge-default-locale
Fixed a problem with the default locale selection in Edge
This commit is contained in:
commit
a30026a5ed
@ -32,7 +32,7 @@ class Settings {
|
||||
});
|
||||
|
||||
// Sets default locale to browser locale
|
||||
defaultValues.application.locale = navigator.languages[0] ||
|
||||
defaultValues.application.locale = navigator.languages ? navigator.languages[0] : false ||
|
||||
navigator.language ||
|
||||
defaultValues.application.locale;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user