mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08: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