mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-28 17:27:50 +01:00
Update webauthn-fallback.ts (#992)
Add missing semicolon and enable console.error bypass for tslint
This commit is contained in:
parent
d31130b79f
commit
fdbce4d84d
@ -16,8 +16,9 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||||||
try {
|
try {
|
||||||
locales = await loadLocales(locale);
|
locales = await loadLocales(locale);
|
||||||
} catch {
|
} catch {
|
||||||
|
// tslint:disable-next-line:no-console
|
||||||
console.error('Failed to load the locale', locale);
|
console.error('Failed to load the locale', locale);
|
||||||
locales = await loadLocales('en')
|
locales = await loadLocales('en');
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('msg').innerText = translate('webAuthnFallbackMsg');
|
document.getElementById('msg').innerText = translate('webAuthnFallbackMsg');
|
||||||
|
Loading…
Reference in New Issue
Block a user