diff --git a/src/main/resources/templates/fragments/navbar.html b/src/main/resources/templates/fragments/navbar.html index 4d67edb6..306eaed8 100644 --- a/src/main/resources/templates/fragments/navbar.html +++ b/src/main/resources/templates/fragments/navbar.html @@ -211,7 +211,7 @@
- +
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index 02c9cfed..7deb22b1 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -52,7 +52,7 @@ document.addEventListener('DOMContentLoaded', function() { - const defaultLocale = document.documentElement.getAttribute('language') || 'en_GB'; + const defaultLocale = document.documentElement.getAttribute('data-language') || 'en_GB'; const storedLocale = localStorage.getItem('languageCode') || defaultLocale; const currentURL = new URL(window.location.href);