You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/diff
wxiaoguang 59eb660b1a
Fix incorrect `toggle` buttons (#23676)
Some of those are still Copy&Paste problems.

This PR:

* Only cleans the legacy incorrect code, doesn't change or improve the
"action" logic.
* Remove the redundant `$('.toggle.button').on('click')`, now
`$('.show-panel.button').on('click')` handles that kinds of buttons


Actually, there is only one correct "toggle button" in code, the one on
the webhook page.

No need to backport.
2 years ago
..
blob_excerpt.tmpl Move helpers to be prefixed with `gt-` (#22879) 2 years ago
box.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
comment_form.tmpl Editor preview support for external renderers (#23333) 2 years ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
compare.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
conversation.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl
image_diff.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
new_comment.tmpl
new_review.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
options_dropdown.tmpl Fix incorrect `toggle` buttons (#23676) 2 years ago
section_code.tmpl
section_split.tmpl Move helpers to be prefixed with `gt-` (#22879) 2 years ago
section_unified.tmpl Fix broken code editor diff preview (#23307) 2 years ago
stats.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
whitespace_dropdown.tmpl Fix incorrect `toggle` buttons (#23676) 2 years ago