mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-13 03:00:10 +01:00
Bugfix: Login page shows wrong selected country flag/language (#1117)
Closes #1116
This commit is contained in:
parent
c3e5157dee
commit
1b5d21a22e
@ -211,7 +211,7 @@
|
||||
<span id="zipThresholdValue" class="ms-2"></span>
|
||||
</div>
|
||||
<div class="mb-3 form-check">
|
||||
<input type="checkbox" class="form-check-input"id="boredWaiting" th:title="#{settings.bored.help}">
|
||||
<input type="checkbox" class="form-check-input" id="boredWaiting" th:title="#{settings.bored.help}">
|
||||
<label class="form-check-label" for="boredWaiting" th:text="#{bored}"></label>
|
||||
</div>
|
||||
<div class="mb-3 form-check">
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user