diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-23 01:55:39 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-23 01:55:39 +0900 |
| commit | 1b9c69f7939391afb536abe10b02572584ed564f (patch) | |
| tree | 3372462edd774934eb178e1e98491f3bd2ac6297 /src/client | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | misskey-1b9c69f7939391afb536abe10b02572584ed564f.tar.gz misskey-1b9c69f7939391afb536abe10b02572584ed564f.tar.bz2 misskey-1b9c69f7939391afb536abe10b02572584ed564f.zip | |
Fix bug
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/boot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/boot.js b/src/client/app/boot.js index 6bcceec217..86d48faf1a 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -43,7 +43,7 @@ if (LANGS.includes(navigator.language)) { lang = navigator.language; } else { - lang = LANGS.find(x => x.split('-')[0] == lang); + lang = LANGS.find(x => x.split('-')[0] == navigator.language); if (lang == null) { // Fallback |