Bugfix: Login page shows wrong selected country flag/language (#1117)
Closes #1116
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user