diff options
author | Earl Warren <109468362+earl-warren@users.noreply.github.com> | 2023-11-03 15:40:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 14:40:48 +0000 |
commit | c46080bc9d8358bfd0e7a1174d773a46c7cdf120 (patch) | |
tree | 2c96123f6e2b167c061edb20e8e483a5f9f7464a /templates/repo/diff | |
parent | d1dc9cb334e90e09219420638444383fd636d431 (diff) | |
download | gitea-c46080bc9d8358bfd0e7a1174d773a46c7cdf120.tar.gz gitea-c46080bc9d8358bfd0e7a1174d773a46c7cdf120.zip |
Remove "tabindex" from some form buttons (#27892)
Remove the "tabindex" from some form buttons on the "diff box" / "issue view content" page, let the browser use the default tab order.
---------
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo/diff')
-rw-r--r-- | templates/repo/diff/box.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index c037c3b365..e00917746e 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -238,8 +238,8 @@ "DropzoneParentContainer" ".ui.form" )}} <div class="text right edit buttons"> - <button class="ui cancel button" tabindex="3">{{ctx.Locale.Tr "repo.issues.cancel"}}</button> - <button class="ui primary save button" tabindex="2">{{ctx.Locale.Tr "repo.issues.save"}}</button> + <button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button> + <button class="ui primary save button">{{ctx.Locale.Tr "repo.issues.save"}}</button> </div> </div> </template> |