0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-18 08:53:03 +01:00
gitea/web_src
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
..
css Improve notification icon and navbar (#25111) 2023-06-07 22:21:57 +00:00
fomantic Replace Fomantic reset module with our own (#24948) 2023-05-28 18:04:35 +00:00
js Fix strange UI behavior of cancelling dismiss review modal (#25133) 2023-06-08 08:52:35 +00:00
svg Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00