mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Remove t3chguy's debug lines
This commit is contained in:
parent
3b908f4a33
commit
9ed647d280
@ -431,7 +431,6 @@ function loadOlm() {
|
||||
|
||||
async function loadLanguage() {
|
||||
const prefLang = SettingsStore.getValue("language", null, /*excludeDefault=*/true);
|
||||
console.log("DEBUG", prefLang);
|
||||
let langs = [];
|
||||
|
||||
if (!prefLang) {
|
||||
@ -441,7 +440,6 @@ async function loadLanguage() {
|
||||
} else {
|
||||
langs = [prefLang];
|
||||
}
|
||||
console.log("DEBUG1", langs);
|
||||
try {
|
||||
await languageHandler.setLanguage(langs);
|
||||
document.documentElement.setAttribute("lang", languageHandler.getCurrentLanguage());
|
||||
|
Loading…
Reference in New Issue
Block a user