nanka iroior
This commit is contained in:
parent
25c25233e2
commit
41c9426929
9 changed files with 41 additions and 19 deletions
|
|
@ -35,6 +35,7 @@
|
|||
// Note: The default language is English
|
||||
let lang = navigator.language.split('-')[0];
|
||||
if (!/^(en|ja)$/.test(lang)) lang = 'en';
|
||||
if (localStorage.getItem('lang')) lang = localStorage.getItem('lang');
|
||||
|
||||
// Detect the user agent
|
||||
const ua = navigator.userAgent.toLowerCase();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue