mirror of
1
Fork 0
forgejo/web_src/js/features
wxiaoguang 59eb660b1a
Fix incorrect `toggle` buttons ()
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
..
admin Convert `<div class="button">` to `<button class="button">` () 2023-03-14 11:34:09 +08:00
comp Use data-tooltip-content for tippy tooltip () 2023-03-24 18:35:38 +08:00
captcha.js Add new captcha: cloudflare turnstile () 2023-02-05 15:29:03 +08:00
citation.js Fix switched citation format () 2023-03-02 13:08:02 -06:00
clipboard.js Use link in UI which returned a relative url but not html_url which contains an absolute url () 2023-02-06 12:09:18 -06:00
codeeditor.js Allow new file and edit file preview if it has editable extension () 2023-03-26 13:25:41 +08:00
colorpicker.js JS refactors () 2022-12-24 00:03:11 +08:00
common-global.js Fix incorrect `toggle` buttons () 2023-03-26 20:06:11 +08:00
common-issue.js Convert `<div class="button">` to `<button class="button">` () 2023-03-14 11:34:09 +08:00
common-organization.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
contextpopup.js Use a general approach to show tooltip, fix temporary tooltip bug () 2023-03-23 17:56:15 +08:00
copycontent.js JS refactors () 2022-12-24 00:03:11 +08:00
dropzone.js JS refactors () 2022-12-24 00:03:11 +08:00
emoji.js JS refactors () 2022-12-24 00:03:11 +08:00
eventsource.sharedworker.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers () 2022-08-03 22:58:27 +03:00
file-fold.js JS refactors () 2022-12-24 00:03:11 +08:00
formatting.js JS refactors () 2022-12-24 00:03:11 +08:00
heatmap.js JS refactors () 2022-12-24 00:03:11 +08:00
imagediff.js Fix various ImageDiff/SVG bugs () 2023-03-07 20:11:24 +08:00
install.js Fix various bugs for "install" page () 2023-03-04 10:12:02 +08:00
notification.js Move helpers to be prefixed with `gt-` () 2023-02-13 17:59:59 +00:00
org-team.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
pull-view-file.js Replace unstyled meter with progress () 2022-06-15 12:28:24 +08:00
repo-branch.js
repo-code.js Fix links for the menus in the view file page () 2023-02-08 00:08:44 +08:00
repo-code.test.js Ignore line anchor links with leading zeroes () 2022-11-11 18:22:36 +08:00
repo-commit.js Fix hidden commit status on multiple checks () 2023-02-20 16:43:04 +08:00
repo-common.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-diff-filetree.js JS refactors () 2022-12-24 00:03:11 +08:00
repo-diff.js Use a general approach to show tooltip, fix temporary tooltip bug () 2023-03-23 17:56:15 +08:00
repo-editor.js Editor preview support for external renderers () 2023-03-24 14:12:23 +08:00
repo-findfile.js Refactor branch/tag selector to Vue SFC () 2023-03-14 17:51:20 +08:00
repo-findfile.test.js Refactor branch/tag selector to Vue SFC () 2023-03-14 17:51:20 +08:00
repo-graph.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-home.js Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form () 2023-03-26 19:31:26 +08:00
repo-issue-content.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-issue-pr-form.js JS refactors () 2022-12-24 00:03:11 +08:00
repo-issue.js Use a general approach to show tooltip, fix temporary tooltip bug () 2023-03-23 17:56:15 +08:00
repo-legacy.js Fix aria.js bugs: incorrect role element problem, mobile focus problem, tippy problem () 2023-03-17 11:08:05 +08:00
repo-migrate.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-migration.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-projects.js Sync the class change of Edit Column Button to JS code () 2023-03-12 19:09:20 +08:00
repo-release.js Hide target selector if tag exists when creating new release () 2023-03-10 10:42:38 -06:00
repo-settings.js
repo-template.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-unicode-escape.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
repo-wiki.js Enable spellcheck for EasyMDE, use contenteditable mode () 2022-06-29 01:52:58 +08:00
serviceworker.js JS refactors () 2022-12-24 00:03:11 +08:00
sshkey-helper.js
stopwatch.js Move helpers to be prefixed with `gt-` () 2023-02-13 17:59:59 +00:00
tablesort.js JS refactors () 2022-12-24 00:03:11 +08:00
tribute.js JS refactors () 2022-12-24 00:03:11 +08:00
user-auth-webauthn.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
user-auth.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
user-settings.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00