mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
closes #131
This commit is contained in:
parent
0eafbe497c
commit
635591a073
9 changed files with 70 additions and 44 deletions
|
@ -112,7 +112,9 @@ onBeforeMount(() => {
|
|||
if (store.prm == 'true') document.body.classList.add('prm');
|
||||
|
||||
/* Set the default locale if set */
|
||||
const loc = store.locale || (navigator.language.startsWith('en') ? null : navigator.language)
|
||||
const loc =
|
||||
store.locale ||
|
||||
(navigator.language.startsWith('en') ? null : navigator.language);
|
||||
if (loc) setupLocale(loc);
|
||||
|
||||
/* Set the default tab */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue