mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
0061d9ad6c
@ -387,6 +387,7 @@ async function loadLanguage() {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await languageHandler.setLanguage(langs);
|
await languageHandler.setLanguage(langs);
|
||||||
|
document.documentElement.setAttribute("lang", languageHandler.getCurrentLanguage());
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Unable to set language", e);
|
console.error("Unable to set language", e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user