1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
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
..
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00
2022-06-27 15:58:46 -05:00