summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/applications_oauth2.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/settings/applications_oauth2.tmpl')
-rw-r--r--templates/user/settings/applications_oauth2.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/applications_oauth2.tmpl b/templates/user/settings/applications_oauth2.tmpl
index 4de3f27ec3..8218674bce 100644
--- a/templates/user/settings/applications_oauth2.tmpl
+++ b/templates/user/settings/applications_oauth2.tmpl
@@ -13,7 +13,7 @@
{{svg "octicon-pencil" 16 "mr-2"}}
{{$.i18n.Tr "settings.oauth2_application_edit"}}
</a>
- <button class="ui red tiny button delete-button" id="remove-gitea-oauth2-application"
+ <button class="ui red tiny button delete-button" data-modal-id="remove-gitea-oauth2-application"
data-url="{{AppSubUrl}}/user/settings/applications/oauth2/delete"
data-id="{{$app.ID}}">
{{svg "octicon-trash" 16 "mr-2"}}