From e11beb4a726451965786eacd95f62db1fa22a4c0 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 08:06:04 +0200 Subject: [PATCH] Shorten line --- src/ts/LauncherUI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/LauncherUI.ts b/src/ts/LauncherUI.ts index 73b557a..3c824a0 100644 --- a/src/ts/LauncherUI.ts +++ b/src/ts/LauncherUI.ts @@ -162,7 +162,7 @@ export class LauncherUI i18n.setLang(lang); $('*[i18id]').each((i, element) => { - element.innerText = i18n.translate(element.getAttribute('i18id')?.toString()!); + element.innerText = i18n.translate(element.getAttribute('i18id')!); }); } } \ No newline at end of file