1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-16 02:27:00 +02:00

Update webauthn-fallback.ts (#992)

Add missing semicolon and enable console.error bypass for tslint
This commit is contained in:
Danny Murphy 2021-05-26 00:43:54 +01:00 committed by GitHub
parent d31130b79f
commit fdbce4d84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,9 @@ document.addEventListener('DOMContentLoaded', async () => {
try {
locales = await loadLocales(locale);
} catch {
// tslint:disable-next-line:no-console
console.error('Failed to load the locale', locale);
locales = await loadLocales('en')
locales = await loadLocales('en');
}
document.getElementById('msg').innerText = translate('webAuthnFallbackMsg');