diff --git a/templates/user/settings/security_u2f.tmpl b/templates/user/settings/security_u2f.tmpl index b33c9ae0e6..dcc56d8729 100644 --- a/templates/user/settings/security_u2f.tmpl +++ b/templates/user/settings/security_u2f.tmpl @@ -8,7 +8,7 @@ {{range .U2FRegistrations}}
-
diff --git a/web_src/js/index.js b/web_src/js/index.js index 0a0cb12932..1b096a31de 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2959,8 +2959,8 @@ $(() => { function showDeletePopup() { const $this = $(this); let filter = ''; - if ($this.attr('modal-id')) { - filter += `#${$this.attr('modal-id')}`; + if ($this.attr('id')) { + filter += `#${$this.attr('id')}`; } const dialog = $(`.delete.modal${filter}`);