forgejo-federation/web_src/js
yp05327 b5a2bb9ab3
Fix strange UI behavior of cancelling dismiss review modal (#25133)
Fixes https://github.com/go-gitea/gitea/issues/25130

The old code uses `$(this).next()` to get `dismiss-review-modal`.
At first, it will get `$(#dismiss-review-modal)`, but the next time it
will get `$(#dismiss-review-modal).next();`
and then `$(#dismiss-review-modal).next().next();`.
Because div `dismiss-review-modal` will be removed when
`dismiss-review-btn` clicked.

Maybe the right usage is adding `show-modal` class and `data-modal`
attribute.
2023-06-08 08:52:35 +00:00
..
components Use correct selector for hiding RSS icon link in the branch selector dropdown (#25080) 2023-06-05 12:34:25 +00:00
features Fix strange UI behavior of cancelling dismiss review modal (#25133) 2023-06-08 08:52:35 +00:00
markup
modules
render
standalone
test
utils
webcomponents
bootstrap.js
index.js
jquery.js
svg.js
svg.test.js
utils.js Clean up WebAuthn javascript code and remove JQuery code (#22697) 2023-06-06 13:29:37 +08:00
utils.test.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00