Shorten line

This commit is contained in:
Maroxy 2021-10-24 08:06:04 +02:00
parent e7b2e1e41e
commit e11beb4a72

View file

@ -162,7 +162,7 @@ export class LauncherUI
i18n.setLang(lang); i18n.setLang(lang);
$('*[i18id]').each((i, element) => { $('*[i18id]').each((i, element) => {
element.innerText = i18n.translate(element.getAttribute('i18id')?.toString()!); element.innerText = i18n.translate(element.getAttribute('i18id')!);
}); });
} }
} }