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.
2023-03-26 20:06:11 +08:00
..
blob_excerpt.tmpl
box.tmpl
comment_form.tmpl
comment_form_datahandler.tmpl
comments.tmpl
compare.tmpl
conversation.tmpl
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl Fix incorrect `toggle` buttons (#23676) 2023-03-26 20:06:11 +08:00
section_code.tmpl
section_split.tmpl
section_unified.tmpl
stats.tmpl
whitespace_dropdown.tmpl Fix incorrect `toggle` buttons (#23676) 2023-03-26 20:06:11 +08:00