This commit is contained in:
Shiny Nematoda 2023-07-25 12:06:44 +00:00
parent 0eafbe497c
commit 635591a073
9 changed files with 70 additions and 44 deletions

View file

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