1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-14 03:20:14 +01:00

Bugfix: Login page shows wrong selected country flag/language (#1117)

Closes #1116
This commit is contained in:
Ludy 2024-04-24 10:10:16 +02:00 committed by GitHub
parent c3e5157dee
commit 1b5d21a22e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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);