mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
refactor(js): remove bootstrap.js
This commit is contained in:
parent
07246e2b59
commit
b116da85a9
4 changed files with 205 additions and 157 deletions
|
@ -7,9 +7,10 @@ class WebAuthnHandler {
|
|||
console.log("webauthn error: " + errorMessage);
|
||||
|
||||
const alertElement = document.getElementById("webauthn-error-alert");
|
||||
if (alertElement) {
|
||||
alertElement.remove();
|
||||
if (!alertElement) {
|
||||
return;
|
||||
}
|
||||
alertElement.remove();
|
||||
|
||||
const alertTemplateElement = document.getElementById("webauthn-error");
|
||||
if (alertTemplateElement) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue