Sprach- und Stadt-Wechsel geht wieder

This commit is contained in:
2024-08-26 13:11:49 +00:00
parent 8d99c73386
commit 6e814fe338
9 changed files with 1241 additions and 1042 deletions
+5 -1
View File
@@ -7,5 +7,9 @@ if (!selectedLang) {
} else {
currentLang = selectedLang
}
window.location.href = '/?lng=' + currentLang
if (sensorid !== '') {
window.location.href = `/${sensorid}?lng=${currentLang}`
} else {
window.location.href = `?lng=${currentLang}`
}