File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
{{range .U2FRegistrations}}
9
9
<div class="item">
10
10
<div class="right floated content">
11
- <button class="ui red tiny button delete-button" modal- id="delete-registration" data-url="{{$.Link}}/u2f/delete" data-id="{{.ID}}">
11
+ <button class="ui red tiny button delete-button" id="delete-registration" data-url="{{$.Link}}/u2f/delete" data-id="{{.ID}}">
12
12
{{$.i18n.Tr "settings.delete_key"}}
13
13
</button>
14
14
</div>
Original file line number Diff line number Diff line change @@ -2959,8 +2959,8 @@ $(() => {
2959
2959
function showDeletePopup ( ) {
2960
2960
const $this = $ ( this ) ;
2961
2961
let filter = '' ;
2962
- if ( $this . attr ( 'modal- id' ) ) {
2963
- filter += `#${ $this . attr ( 'modal- id' ) } ` ;
2962
+ if ( $this . attr ( 'id' ) ) {
2963
+ filter += `#${ $this . attr ( 'id' ) } ` ;
2964
2964
}
2965
2965
2966
2966
const dialog = $ ( `.delete.modal${ filter } ` ) ;
You can’t perform that action at this time.
0 commit comments