Fix delete u2f keys bug (#18042)
Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
a818a48c76
commit
91f5be889a
2 changed files with 3 additions and 3 deletions
|
@ -2959,8 +2959,8 @@ $(() => {
|
|||
function showDeletePopup() {
|
||||
const $this = $(this);
|
||||
let filter = '';
|
||||
if ($this.attr('id')) {
|
||||
filter += `#${$this.attr('id')}`;
|
||||
if ($this.attr('modal-id')) {
|
||||
filter += `#${$this.attr('modal-id')}`;
|
||||
}
|
||||
|
||||
const dialog = $(`.delete.modal${filter}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue