This commit is contained in:
syuilo
2018-08-23 01:55:39 +09:00
parent 42dd092334
commit 1b9c69f793
2 changed files with 4 additions and 4 deletions

View File

@ -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